From owner-freebsd-ports@FreeBSD.ORG Thu Apr 14 16:29:22 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA9BE16A4CE for ; Thu, 14 Apr 2005 16:29:22 +0000 (GMT) Received: from mail.imcc.ca (mail.imcc.ca [69.9.174.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id E52AB43D2D for ; Thu, 14 Apr 2005 16:29:21 +0000 (GMT) (envelope-from FreeBSD@LogicX.us) Received: (qmail 58336 invoked by uid 89); 14 Apr 2005 16:29:16 -0000 Received: from unknown (HELO ?10.0.4.58?) (LogicX@LogicX.us@67.128.86.135) by mail.imcc.ca with (DHE-RSA-AES256-SHA encrypted) SMTP; 14 Apr 2005 16:29:16 -0000 Message-ID: <425E9A66.5030600@LogicX.us> Date: Thu, 14 Apr 2005 12:29:26 -0400 From: Mike Schroll User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: knu@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: ports@FreeBSD.org Subject: FreeBSD Port: swig-1.3.21_1 patch/update X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2005 16:29:22 -0000 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