aboutsummaryrefslogtreecommitdiffstats
path: root/devel/swig13
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-02-02 13:11:48 +0800
committerknu <knu@FreeBSD.org>2001-02-02 13:11:48 +0800
commit74c90f7e4b17c0d3214a6c57fb8376b433dc6238 (patch)
tree22e7ac94fe9954b70a32f0593fa1029750bf0f77 /devel/swig13
parentff0d1413a273e27b052182e1e254bf49b8318d97 (diff)
downloadfreebsd-ports-graphics-74c90f7e4b17c0d3214a6c57fb8376b433dc6238.tar.gz
freebsd-ports-graphics-74c90f7e4b17c0d3214a6c57fb8376b433dc6238.tar.zst
freebsd-ports-graphics-74c90f7e4b17c0d3214a6c57fb8376b433dc6238.zip
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/swig13')
-rw-r--r--devel/swig13/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/swig13/Makefile b/devel/swig13/Makefile
index 25acdd95a64..8e0a56241c2 100644
--- a/devel/swig13/Makefile
+++ b/devel/swig13/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