summaryrefslogtreecommitdiff
path: root/devel/swig20
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-02-02 05:11:48 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-02-02 05:11:48 +0000
commit5878e8e7435b7980610d3b17a83ff21e51e8813a (patch)
treeaf76f61965ea0cc55405cbdeafecec8f966980f3 /devel/swig20
parentAdd work around not to dumps core to access host resources. (diff)
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>
Notes
Notes: svn path=/head/; revision=37902
Diffstat (limited to 'devel/swig20')
-rw-r--r--devel/swig20/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/swig20/Makefile b/devel/swig20/Makefile
index 25acdd95a647..8e0a56241c2c 100644
--- a/devel/swig20/Makefile
+++ b/devel/swig20/Makefile
@@ -7,7 +7,7 @@
PORTNAME= swig
PORTVERSION= ${VER}a5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel perl5 python ruby tcl82
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.rge.com/pub/languages/swig/ \
@@ -30,6 +30,7 @@ PYTHON_NO_DEPENDS= yes
INSTALLS_SHLIB= yes
WRKSRC= ${WRKDIR}/SWIG${PORTVERSION}
USE_LIBTOOL= yes
+CONFIGURE_ENV= CFLAGS="${CFLAGS} -fpic -DPIC"
CONFIGURE_ARGS= --with-tclincl=${PREFIX}/include/tcl8.2/ \
--with-tcllib=${PREFIX}/lib/tcl8.2/
ALL_TARGET= swig runtime