ports/72610: [MAINTAINER] textproc/csconv: update to r12.0.1

Kuang-che Wu kcwu at csie.org
Wed Oct 13 06:10:28 UTC 2004


>Number:         72610
>Category:       ports
>Synopsis:       [MAINTAINER] textproc/csconv: update to r12.0.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 13 06:10:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Kuang-che Wu
>Release:        FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD kcwu.homeip.net 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Sat Sep  4 05:33:38 CST
>Description:
- Update to r12.0.1

Added file(s):
- files/patch-lib_CSConv_configure.ac

Removed file(s):
- files/patch-lib_CSConv_configure
- files/patch-lib_CSConv_converterPI_configure

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- iiimf-csconv-r12.0.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/textproc/iiimf-csconv/Makefile /files/home/kcwu/work/ports/x/textproc/iiimf-csconv/Makefile
--- /usr/ports/textproc/iiimf-csconv/Makefile	Wed Feb  4 13:09:13 2004
+++ /files/home/kcwu/work/ports/x/textproc/iiimf-csconv/Makefile	Wed Oct 13 13:19:39 2004
@@ -5,42 +5,42 @@
 # $FreeBSD: ports/textproc/iiimf-csconv/Makefile,v 1.2 2004/02/04 05:09:13 marcus Exp $
 #
 
-PORTNAME=	iiimf-csconv
-PORTVERSION=	${IIIMF_VER:S/_/./:C/-.*//}
-PORTREVISION=	1
+PORTNAME=	csconv
+PORTVERSION=	${IIIMF_VER:S/_/./g:C/-.*//}
 CATEGORIES=	textproc
-MASTER_SITES=	http://www.openi18n.org/download/docs/im-sdk/
+MASTER_SITES=	http://www.openi18n.org/download/im-sdk/src/
+PKGNAMEPREFIX=	iiimf-
 DISTNAME=	im-sdk
-DISTFILES=	${DISTNAME}.${IIIMF_VER:S/-/./}${EXTRACT_SUFX}
+DISTFILES=	${DISTNAME}-src-${IIIMF_VER}.tgz
 
 MAINTAINER=	kcwu at csie.org
 COMMENT=	Internet/Intranet Input Method Framework encoding convert library
 
-IIIMF_VER=	r11_4-1467
+IIIMF_VER=	r12_0_1-svn1891
 WRKSRC=		${WRKDIR}/${DISTNAME}-${IIIMF_VER}/lib/CSConv
-USE_BZIP2=	yes
+PATCH_WRKSRC=	${WRKDIR}/${DISTNAME}-${IIIMF_VER}
+USE_ICONV=	yes
 USE_GMAKE=	yes
-INSTALLS_SHLIB=	yes
 USE_REINPLACE=	yes
-HAS_CONFIGURE=	yes
-CONFIGURE_ARGS=	--prefix=${PREFIX}
+USE_AUTOCONF_VER=259
+CONFIGURE_ENV=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
+		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -liconv" \
+		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}"
 
 post-patch:
-	${REINPLACE_CMD} -e "s,-lpthread,-pthread,g" \
-		-e "s,-D_POSIX_C_SOURCE=199506L,,g" \
-		-e "s,has_xiccallback=no,has_xiccallback=yes,g" \
-		-e "s,/usr/lib/im,${PREFIX}/lib/im,g" \
-		-e 's,x"gcc",x"cc",g' \
-		${WRKSRC}/configure
 	${REINPLACE_CMD} -e "s,/usr/lib/im,${PREFIX}/lib/im,g" \
+		${WRKSRC}/../../acfiles/im_common.m4 \
+		${WRKSRC}/configure.ac \
+		${WRKSRC}/aclocal.m4 \
 		${WRKSRC}/csconv.h \
 		${WRKSRC}/converterPI/test/icutest4linux.c \
 		${WRKSRC}/converterPI/icuconv_relay.c \
-		${WRKSRC}/converterPI/configure \
+		${WRKSRC}/converterPI/configure.in \
 		${WRKSRC}/converterPI/icuconv/common/config.h
-	${REINPLACE_CMD} -e "s,-lpthread,-pthread,g" -e "s,-ldl,," \
+	${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" -e "s,-ldl,," -e 's,-lc$$,,' \
 		${WRKSRC}/converterPI/icuconv/common/Makefile.in \
-		${WRKSRC}/converterPI/icuconv/tools/toolutil/Makefile.in
+		${WRKSRC}/converterPI/icuconv/tools/toolutil/Makefile.in \
+		${WRKSRC}/converter/compoundtext/Makefile.in
 	${REINPLACE_CMD} -e "s,ELIBBAD,-2," \
 		${WRKSRC}/converterPI/icuconv/common/icuconv.c
 
diff -ruN --exclude=CVS /usr/ports/textproc/iiimf-csconv/distinfo /files/home/kcwu/work/ports/x/textproc/iiimf-csconv/distinfo
--- /usr/ports/textproc/iiimf-csconv/distinfo	Wed Mar 31 11:11:42 2004
+++ /files/home/kcwu/work/ports/x/textproc/iiimf-csconv/distinfo	Wed Oct 13 13:19:39 2004
@@ -1,2 +1,2 @@
-MD5 (im-sdk.r11_4.1467.tar.bz2) = ca6b6ac7c41641db6eaa0fa395748f90
-SIZE (im-sdk.r11_4.1467.tar.bz2) = 7253894
+MD5 (im-sdk-src-r12_0_1-svn1891.tgz) = 4e51e4fd07391bd957622db0e89aeefe
+SIZE (im-sdk-src-r12_0_1-svn1891.tgz) = 18206118
diff -ruN --exclude=CVS /usr/ports/textproc/iiimf-csconv/files/patch-lib_CSConv_configure /files/home/kcwu/work/ports/x/textproc/iiimf-csconv/files/patch-lib_CSConv_configure
--- /usr/ports/textproc/iiimf-csconv/files/patch-lib_CSConv_configure	Mon May 10 04:15:41 2004
+++ /files/home/kcwu/work/ports/x/textproc/iiimf-csconv/files/patch-lib_CSConv_configure	Thu Jan  1 08:00:00 1970
@@ -1,26 +0,0 @@
---- configure.orig	Sat Aug 23 09:33:31 2003
-+++ configure	Wed Apr 21 12:04:17 2004
-@@ -2772,7 +2772,6 @@
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_check_lib_save_LIBS=$LIBS
--LIBS="-lc  $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- /* confdefs.h.  */
-@@ -2819,7 +2818,6 @@
- #define HAVE_LIBC 1
- _ACEOF
- 
--  LIBS="-lc $LIBS"
- 
- fi
- 
-@@ -6220,6 +6218,7 @@
- case "${host}" in
- 	*solaris*) 	platform=SOLARIS ;;
- 	*linux*) 	platform=LINUX ;;
-+	*freebsd*)	platform=FREEBSD ;;
- esac
- 
- 
diff -ruN --exclude=CVS /usr/ports/textproc/iiimf-csconv/files/patch-lib_CSConv_configure.ac /files/home/kcwu/work/ports/x/textproc/iiimf-csconv/files/patch-lib_CSConv_configure.ac
--- /usr/ports/textproc/iiimf-csconv/files/patch-lib_CSConv_configure.ac	Thu Jan  1 08:00:00 1970
+++ /files/home/kcwu/work/ports/x/textproc/iiimf-csconv/files/patch-lib_CSConv_configure.ac	Wed Oct 13 13:19:39 2004
@@ -0,0 +1,35 @@
+--- lib/CSConv/configure.ac.orig	Fri Jun 13 00:27:08 2003
++++ lib/CSConv/configure.ac	Sat Sep  4 05:39:51 2004
+@@ -55,8 +55,6 @@
+ AC_PATH_PROG(RM, rm)
+ AC_PATH_PROG(SED, sed)
+ 
+-AC_CHECK_LIB(c, main)
+-AC_CHECK_LIB(dl, main)
+ 
+ 
+ dnl FreeBSD -pthread check - Jonathan McDowell <noodles at earth.li>
+@@ -294,13 +292,8 @@
+ 	CDEBUGFLAGS=
+ 	ARFLAGS=ru
+ 
+-	if test x"${CC}" = x"gcc" ; then
+-		SHLIBCFLAGS='-fpic'
+-		SHLIBLDFLAGS='-shared'
+-	else
+-		SHLIBCFLAGS=
+-		SHLIBLDFLAGS=
+-	fi
++	SHLIBCFLAGS='-fpic'
++	SHLIBLDFLAGS='-shared'
+ 
+ 	csc_system_name="`uname -s`"
+ 	;;
+@@ -314,6 +307,7 @@
+ case "${host}" in
+ 	*solaris*) 	platform=SOLARIS ;;
+ 	*linux*) 	platform=LINUX ;;
++	*freebsd*)	platform=FREEBSD ;;
+ esac
+ AC_SUBST(platform)
+ 
diff -ruN --exclude=CVS /usr/ports/textproc/iiimf-csconv/files/patch-lib_CSConv_converterPI_configure /files/home/kcwu/work/ports/x/textproc/iiimf-csconv/files/patch-lib_CSConv_converterPI_configure
--- /usr/ports/textproc/iiimf-csconv/files/patch-lib_CSConv_converterPI_configure	Mon May 10 04:15:41 2004
+++ /files/home/kcwu/work/ports/x/textproc/iiimf-csconv/files/patch-lib_CSConv_converterPI_configure	Thu Jan  1 08:00:00 1970
@@ -1,18 +0,0 @@
---- converterPI/configure.orig	Wed Apr 21 12:04:26 2004
-+++ converterPI/configure	Wed Apr 21 12:04:34 2004
-@@ -1152,7 +1152,6 @@
-   echo $ac_n "(cached) $ac_c" 1>&6
- else
-   ac_save_LIBS="$LIBS"
--LIBS="-lc  $LIBS"
- cat > conftest.$ac_ext <<EOF
- #line 1158 "configure"
- #include "confdefs.h"
-@@ -1182,7 +1181,6 @@
- #define $ac_tr_lib 1
- EOF
- 
--  LIBS="-lc $LIBS"
- 
- else
-   echo "$ac_t""no" 1>&6
diff -ruN --exclude=CVS /usr/ports/textproc/iiimf-csconv/pkg-plist /files/home/kcwu/work/ports/x/textproc/iiimf-csconv/pkg-plist
--- /usr/ports/textproc/iiimf-csconv/pkg-plist	Sun Dec 28 19:43:36 2003
+++ /files/home/kcwu/work/ports/x/textproc/iiimf-csconv/pkg-plist	Wed Oct 13 13:19:40 2004
@@ -32,7 +32,6 @@
 csconv/encoding.norm
 csconv/euc_ct.so
 csconv/eucw_ct.so
-csconv/iconv.so
 csconv/iconv_relay.so
 csconv/iconv_relay_mb_wc.so
 csconv/iconv_relay_wc_mb.so
--- iiimf-csconv-r12.0.1.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list