summaryrefslogtreecommitdiffstats
path: root/devel/SWIG
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-02-02 05:11:48 +0000
committerknu <knu@FreeBSD.org>2001-02-02 05:11:48 +0000
commit74c90f7e4b17c0d3214a6c57fb8376b433dc6238 (patch)
tree22e7ac94fe9954b70a32f0593fa1029750bf0f77 /devel/SWIG
parentff0d1413a273e27b052182e1e254bf49b8318d97 (diff)
downloadFreeBSD-ports-74c90f7e4b17c0d3214a6c57fb8376b433dc6238.zip
FreeBSD-ports-74c90f7e4b17c0d3214a6c57fb8376b433dc6238.tar.gz
Fix the breakage with gcc 2.95.3 on -CURRENT by adding "-fpic" to
CFLAGS. Rqported by: Andrew Kenneth Milton <akm@mail.theinternet.com.au>
Diffstat (limited to 'devel/SWIG')
-rw-r--r--devel/SWIG/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/SWIG/Makefile b/devel/SWIG/Makefile
index a6ab3e5..67a5b88 100644
--- a/devel/SWIG/Makefile
+++ b/devel/SWIG/Makefile
@@ -7,7 +7,7 @@
PORTNAME= swig
PORTVERSION= ${VER}p5
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= devel perl5 python tcl82
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.rge.com/pub/languages/swig/${VER}/ \
@@ -29,6 +29,7 @@ INSTALLS_SHLIB= yes
WRKSRC= ${WRKDIR}/SWIG${PORTVERSION}
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CFLAGS="${CFLAGS} -fpic -DPIC"
CONFIGURE_ARGS= --with-tclincl=${PREFIX}/include/tcl8.2/ \
--with-tcllib=${PREFIX}/lib/tcl8.2/
ALL_TARGET= all runtime
OpenPOWER on IntegriCloud