Date: Thu, 14 Apr 2005 12:29:26 -0400 From: Mike Schroll <FreeBSD@LogicX.us> To: knu@FreeBSD.org Cc: ports@FreeBSD.org Subject: FreeBSD Port: swig-1.3.21_1 patch/update Message-ID: <425E9A66.5030600@LogicX.us>
next in thread | raw e-mail | index | archive | help
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@LogicX.us AIM: L0g1cX http://MSchroll.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?425E9A66.5030600>