Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2006 05:40:00 +0800 (CST)
From:      Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/93678: [UPDATE] Fix build of ports/chinese/scim-chewing
Message-ID:  <200602212140.k1LLe0ZE069447@alumni.csie.nctu.edu.tw>
Resent-Message-ID: <200602212150.k1LLo206041974@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         93678
>Category:       ports
>Synopsis:       [UPDATE] Fix build of ports/chinese/scim-chewing
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 21 21:50:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Chen
>Release:        FreeBSD 6.1-PRERELEASE amd64
>Organization:
MANA lab, CCU CS
>Environment:
System: FreeBSD amd64.yinjieh.org 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #2: Sat Feb 4 23:19:18 CST 2006 root@amd64.yinjieh.org:/usr/obj/usr/src/sys/YINJIEH amd64


	
>Description:

	Fix build of ports/chinese/scim-chewing.
	Remove USE_REINPLACE.

	Please commit it, thanks!

>How-To-Repeat:

	Apply the following patch.

>Fix:

diff -ruN /usr/ports/chinese/scim-chewing/Makefile scim-chewing/Makefile
--- /usr/ports/chinese/scim-chewing/Makefile	Mon Feb 20 19:24:31 2006
+++ scim-chewing/Makefile	Wed Feb 22 05:32:32 2006
@@ -18,12 +18,9 @@
 LIB_DEPENDS=	chewing.2:${PORTSDIR}/chinese/libchewing
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
-BROKEN=		Does not build
-
 USE_X_PREFIX=	yes
 USE_GMAKE=	yes
 USE_AUTOTOOLS=	libtool:15
-USE_REINPLACE=	yes
 
 CONFIGURE_ENV+=	CPPFLAGS="-D__STDC_ISO_10646__"
 
diff -ruN /usr/ports/chinese/scim-chewing/files/patch-src::Makefile.in scim-chewing/files/patch-src::Makefile.in
--- /usr/ports/chinese/scim-chewing/files/patch-src::Makefile.in	Sun Jan 23 01:44:41 2005
+++ scim-chewing/files/patch-src::Makefile.in	Wed Feb 22 05:27:05 2006
@@ -1,6 +1,6 @@
---- src/Makefile.in.orig	Mon Nov 29 17:12:21 2004
-+++ src/Makefile.in	Sat Dec  4 15:16:30 2004
-@@ -238,11 +238,12 @@
+--- src/Makefile.in.orig	Mon Feb 28 10:24:08 2005
++++ src/Makefile.in	Wed Feb 22 05:25:19 2006
+@@ -234,6 +234,7 @@
  	-I$(top_builddir) \
  	-I$(top_srcdir) \
  	-I$(top_srcdir)/src \
@@ -8,18 +8,21 @@
  	-DSCIM_ICONDIR=\"@SCIM_ICONDIR@\" \
  	-DSCIM_CHEWING_ICON_FILE=\"@SCIM_ICONDIR@/scim-chewing.png\"
  
- noinst_HEADERS = scim_chewing_imengine.h scim_chewing_config_entry.h
--moduledir = @SCIM_MODULEDIR@/IMEngine
-+moduledir = @SCIM_MODULEDIR@/1.0.0/IMEngine
- module_LTLIBRARIES = chewing.la
- chewing_la_SOURCES = scim_chewing_imengine.cpp
- chewing_la_CFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
-@@ -256,7 +257,7 @@
+@@ -247,7 +248,7 @@
+ 	-avoid-version \
+ 	-rpath $(moduledir) \
+ 	-module \
+-	@LIBTOOL_EXPORT_OPTIONS@ \
++	-export-symbols-regex "^[[^_]].*" \
+ 	@INTLLIBS@ @SCIM_LIBS@ \
  	@CHEWING_LIBS@
  
- @SCIM_BUILD_SETUP_TRUE@SETUP_MODULE = chewing-imengine-setup.la
--setupmoduledir = @SCIM_MODULEDIR@/SetupUI
-+setupmoduledir = @SCIM_MODULEDIR@/1.0.0/SetupUI
- setupmodule_LTLIBRARIES = $(SETUP_MODULE)
- chewing_imengine_setup_la_SOURCES = scim_chewing_imengine_setup.cpp
- chewing_imengine_setup_la_CFLAGS = \
+@@ -265,7 +266,7 @@
+ 	-avoid-version \
+ 	-rpath $(setupmoduledir) \
+ 	-module \
+-	@LIBTOOL_EXPORT_OPTIONS@ \
++	-export-symbols-regex "^[[^_]].*" \
+ 	@SCIM_GTKUTILS_LIBS@ \
+ 	@INTLLIBS@ \
+ 	@SCIM_LIBS@

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602212140.k1LLe0ZE069447>