aboutsummaryrefslogtreecommitdiff
path: root/textproc/xerces-c2-devel
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2010-06-29 15:11:26 +0000
committerStefan Walter <stefan@FreeBSD.org>2010-06-29 15:11:26 +0000
commit03c64289faeb0230c5567c62003baac0a8e315ae (patch)
tree38bacda832d2af8a051c4679038126b7ac7d1f28 /textproc/xerces-c2-devel
parent63b946b6cbc8d89900e814857c646b63bbc7c0cc (diff)
Notes
Diffstat (limited to 'textproc/xerces-c2-devel')
-rw-r--r--textproc/xerces-c2-devel/Makefile4
-rw-r--r--textproc/xerces-c2-devel/files/patch-src-xercesc-Makefile.incl11
2 files changed, 4 insertions, 11 deletions
diff --git a/textproc/xerces-c2-devel/Makefile b/textproc/xerces-c2-devel/Makefile
index 2e8741bc936f..11a2536abea7 100644
--- a/textproc/xerces-c2-devel/Makefile
+++ b/textproc/xerces-c2-devel/Makefile
@@ -139,6 +139,10 @@ pre-extract:
post-patch:
@${REINPLACE_CMD} -e 's#CP = -cp -p#CP = -cp#' \
${WRKSRC}/src/xercesc/Makefile.incl
+.if ${OSVERSION} < 700000
+ @${REINPLACE_CMD} -e 's,-lgcc,-lgcc_pic,' \
+ ${WRKSRC}/src/xercesc/Makefile.incl
+.endif
pre-configure:
@${CHMOD} 700 ${CONFIGURE_WRKSRC}/runConfigure
diff --git a/textproc/xerces-c2-devel/files/patch-src-xercesc-Makefile.incl b/textproc/xerces-c2-devel/files/patch-src-xercesc-Makefile.incl
deleted file mode 100644
index 961f8f7233e8..000000000000
--- a/textproc/xerces-c2-devel/files/patch-src-xercesc-Makefile.incl
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/xercesc/Makefile.incl.orig Thu Aug 30 21:10:20 2007
-+++ src/xercesc/Makefile.incl Fri Jan 11 13:40:47 2008
-@@ -591,7 +591,7 @@
-
- ifeq (${TRANSCODER}, ICU)
- PLATFORM_COMPILE_OPTIONS += -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
- ALLLIBS = ${LIBS}
- endif