diff options
author | stefan <stefan@FreeBSD.org> | 2010-06-29 23:11:26 +0800 |
---|---|---|
committer | stefan <stefan@FreeBSD.org> | 2010-06-29 23:11:26 +0800 |
commit | 46a90094be98ffd729988caaea48a3940c81146b (patch) | |
tree | bf2b35e5b396fff3456270b34deb1b1afb02adbd /textproc/xerces-c2-devel/Makefile | |
parent | d1be665d3f3aef884637765a1edf1362d9d3a869 (diff) | |
download | freebsd-ports-gnome-46a90094be98ffd729988caaea48a3940c81146b.tar.gz freebsd-ports-gnome-46a90094be98ffd729988caaea48a3940c81146b.tar.zst freebsd-ports-gnome-46a90094be98ffd729988caaea48a3940c81146b.zip |
In textproc/xerces-c2 and textproc/xerces-c2-devel, use -lgcc_pic only on
systems < 7.0-RELEASE.
PR: 136984
Submitted by: Meena <meena.vyas@sun.com>
Patch by: arved
Approved by: maintainer timeout (>11 months)
Feature safe: yes
Diffstat (limited to 'textproc/xerces-c2-devel/Makefile')
-rw-r--r-- | textproc/xerces-c2-devel/Makefile | 4 |
1 files changed, 4 insertions, 0 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 |