FreeBSD Port: swig-1.3.21_1 patch/update
Mike Schroll
FreeBSD at LogicX.us
Thu Apr 14 09:29:22 PDT 2005
http://swig.sourceforge.net/ reports the latest version is SWIG-1.3.24
I ran into a problem with swig not compiling, caused by swig trying to
install with php4 (I run php5). The problem was exacerbated by the fact
that setting SWIG_LANGUAGES to exclude php4 did not fix it. Each of the
WANT_SWIG_lang sections needs to set:
CONFIGURE_ARGS+= --without-php4
for the case where that language is undefined
Here is my proposed patch for php4 -- however it needs to be updated to
do this for all the languages, including the new ones supported in
SWIG-1.3.24
--- Makefile Thu Nov 11 03:04:16 2004
+++ Makefile.mine Thu Apr 14 12:21:42 2005
@@ -42,6 +42,7 @@
PLIST_SUB+= WANT_SWIG_PHP4=""
.else
PLIST_SUB+= WANT_SWIG_PHP4="@comment "
+CONFIGURE_ARGS+= --without-php4
.endif
.if defined(WANT_SWIG_PYTHON)
CATEGORIES+= python
-Mike Schroll
Applied Networking System Administration Major
Rochester Institute of Technology
Rochester, NY
Information Sciences and Technology Major
Penn State University
University Park, PA
FreeBSD at LogicX.us
AIM: L0g1cX
http://MSchroll.com
More information about the freebsd-ports
mailing list