diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-02-02 05:11:48 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-02-02 05:11:48 +0000 |
commit | 5878e8e7435b7980610d3b17a83ff21e51e8813a (patch) | |
tree | af76f61965ea0cc55405cbdeafecec8f966980f3 /devel/SWIG | |
parent | Add 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/SWIG')
-rw-r--r-- | devel/SWIG/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/SWIG/Makefile b/devel/SWIG/Makefile index a6ab3e5328d1..67a5b8857609 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 |