Fwd: Re: ports/136984: textproc/xerces-2 port no longer needs gcc_pic patch in FreeBSD 7.2
Tilman Linneweh
arved at freebsd.org
Sat Jul 25 09:50:04 UTC 2009
The following reply was made to PR ports/136984; it has been noted by GNATS.
From: Tilman Linneweh <arved at freebsd.org>
To: janos.mohacsi at bsd.hu, bug-followup at freebsd.org
Cc:
Subject: Fwd: Re: ports/136984: textproc/xerces-2 port no longer needs gcc_pic patch in FreeBSD 7.2
Date: Sat, 25 Jul 2009 11:42:03 +0200
--Boundary-00=_rNtaKKaMNv8Yq1x
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Szia Janos!
The following PR affects also the xerces-c2-devel port, which you maintain.
Please approve the attached patch
regards
arved
---------- Forwarded Message ----------
Subject: Re: ports/136984: textproc/xerces-2 port no longer needs gcc_pic
patch in FreeBSD 7.2
Date: Saturday 25 July 2009
From: Tilman Linneweh <arved at freebsd.org>
To: bug-followup at freebsd.org, meena.vyas at sun.com, kenm at icarz.com
I suggest the attached patch.
Maintainer, please approve!
-------------------------------------------------------
--Boundary-00=_rNtaKKaMNv8Yq1x
Content-Type: text/x-diff;
charset="iso 8859-15";
name="patch-xerxes-c2"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="patch-xerxes-c2"
? .Makefile.swp
? patch-xerxes-c2
? work
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/xerces-c2/Makefile,v
retrieving revision 1.26
diff -u -r1.26 Makefile
--- Makefile 7 Jul 2009 00:22:05 -0000 1.26
+++ Makefile 25 Jul 2009 09:29:54 -0000
@@ -142,6 +142,10 @@
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/src/xercesc/Makefile.incl \
${WRKSRC}/src/xercesc/runConfigure
+.if ${OSVERSION} < 700000
+ ${REINPLACE_CMD} -s 's,-lgcc,-lgcc_pic,' \
+ ${WRKSRC}/src/xerxesc/Makefile.incl
+.endif
pre-configure:
@${CHMOD} 700 ${CONFIGURE_WRKSRC}/runConfigure
Index: files/patch-src-xercesc-Makefile.incl
===================================================================
RCS file: files/patch-src-xercesc-Makefile.incl
diff -N files/patch-src-xercesc-Makefile.incl
--- files/patch-src-xercesc-Makefile.incl 20 May 2006 18:44:10 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
---- src/xercesc/Makefile.incl.orig Wed Sep 7 11:55:53 2005
-+++ src/xercesc/Makefile.incl Mon Apr 10 14:54:15 2006
-@@ -411,7 +411,7 @@
- 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}
--Boundary-00=_rNtaKKaMNv8Yq1x--
More information about the freebsd-ports-bugs
mailing list