ports/95118: [UPDATE patch]textproc/xerces-c2 to 2.7.0
Bjoern A. Zeeb
bzeeb+freebsd+ports at zabbadoz.net
Thu Apr 6 19:20:25 UTC 2006
The following reply was made to PR ports/95118; it has been noted by GNATS.
From: "Bjoern A. Zeeb" <bzeeb+freebsd+ports at zabbadoz.net>
To: Ken Menzel <kenm at icarz.com>
Cc: bug-followup at FreeBSD.org
Subject: Re: ports/95118: [UPDATE patch]textproc/xerces-c2 to 2.7.0
Date: Thu, 6 Apr 2006 19:12:33 +0000 (UTC)
Hi,
I have done some more compile time testing and tried some
of the sample applications using the ports-src tabrall
from your webpage.
I needed the following patch to get it working with ICU
(basically I have been told the extra patch should not
be needed but our system seems to be broken) and make
portlint more happy.
plist was fine for all combinations tried. Good work!
Maybe you want to take MAINTAINERship too?
Someone should pick this up and commit the update.
Greetings
Bjoern
diff -uprN xerces-c2.orig/Makefile xerces-c2/Makefile
--- xerces-c2.orig/Makefile Mon Apr 3 17:48:03 2006
+++ xerces-c2/Makefile Thu Apr 6 18:55:32 2006
@@ -7,7 +7,6 @@
PORTNAME= xerces-c2
PORTVERSION= 2.7.0
-PORTREVISION= 0
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_APACHE_XML}
MASTER_SITE_SUBDIR= xerces-c/source
@@ -47,7 +46,7 @@ PLIST_SUB+= TRANSICU="@comment "
.else
.if (${TRANSCODER} == "icu")
PKGNAMESUFFIX+= -icu
-LIB_DEPENDS+= icuuc.32:${PORTSDIR}/devel/icu
+LIB_DEPENDS+= icuuc.34:${PORTSDIR}/devel/icu
ICUROOT?= ${LOCALBASE}
CONFIGURE_ENV+= ICUROOT=${ICUROOT}
MAKE_ENV+= ICUROOT=${ICUROOT}
@@ -77,7 +76,6 @@ CONFIGURE_WRKSRC= ${XERCESWRKSRC}
BUILD_WRKSRC= ${XERCESWRKSRC}
INSTALL_WRKSRC= ${XERCESWRKSRC}
-USE_REINPLACE= yes
USE_GMAKE= yes
MAKE_ENV+= XERCESCROOT=${WRKSRC}
diff -uprN xerces-c2.orig/files/patch-ac xerces-c2/files/patch-ac
--- xerces-c2.orig/files/patch-ac Thu Jan 1 00:00:00 1970
+++ xerces-c2/files/patch-ac Thu Apr 6 18:47:54 2006
@@ -0,0 +1,11 @@
+--- src/xercesc/Makefile.incl.orig Thu Apr 6 18:47:19 2006
++++ src/xercesc/Makefile.incl Thu Apr 6 18:47:37 2006
+@@ -411,7 +411,7 @@ MAKE_SHARED = ${CXX} -D${PLATFORM} -shar
+ MAKE_SHARED_C = ${CC} -D${PLATFORM} -shared -fPIC ${LDFLAGS}
+ ifeq (${TRANSCODER}, ICU)
+ PLATFORM_COMPILE_OPTIONS = -fPIC -D${PLATFORM} -I/usr/local/include
+- ALLLIBS = ${LIBS} -L/usr/local/lib -L${ICUROOT} -licuuc -licudata -lgcc
++ ALLLIBS = ${LIBS} -L/usr/local/lib -L${ICUROOT} -licuuc -licudata -lgcc_pic
+ else
+ PLATFORM_COMPILE_OPTIONS = -fPIC -D${PLATFORM}
+ ALLLIBS = ${LIBS}
More information about the freebsd-ports-bugs
mailing list