Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jul 2009 09:50:03 GMT
From:      Tilman Linneweh <arved@freebsd.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Fwd: Re: ports/136984: textproc/xerces-2 port no longer needs gcc_pic patch in FreeBSD 7.2
Message-ID:  <200907250950.n6P9o3Qa065297@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/136984; it has been noted by GNATS.

From: Tilman Linneweh <arved@freebsd.org>
To: janos.mohacsi@bsd.hu, bug-followup@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@freebsd.org>
 To: bug-followup@freebsd.org, meena.vyas@sun.com, kenm@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--



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