ports/76231: Existance of PHP5 installation breaks devel/swig13 port

Pascal Hofstee caelian at gmail.com
Fri Jan 14 03:10:29 UTC 2005


>Number:         76231
>Category:       ports
>Synopsis:       Existance of PHP5 installation breaks devel/swig13 port
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 14 03:10:28 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Pascal Hofstee
>Release:        FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD odyssey.homeunix.org 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Wed Jan 12 21:33:54 PST 2005 daeron at odyssey.homeunix.org:/usr/obj/usr/src/sys/ODYSSEY i386


	
>Description:
	The devel/swig13 configure script picks up a PHP5 installation and
	interprets it as a PHP4 installation and accordingly tries to install the
	SWIG_LANGUAGE binding for PHP4 even though i didn't include PHP4 bindings
	in the SWIG_LANGUAGES variable (SWIG_LANGUAGES="ruby python perl").

	Build breaks as follows ....
	

>How-To-Repeat:
	- Install lang/php5.
	- Try to install devel/swig13 explicitely disabling the php4 swig-language
	  binding.
	
>Fix:

	The lang/swig13/Makefile contains a .if defined (WANT_SWIG_PHP4) section.
	In the .else case of this section add the following line:
	CONFIGURE_ARGS += --without-php4

	It is probably a good idea to explicitely disable configure checks for ALL
	unwanted swig-language-bindings, though i haven't explicitely tested this.




>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list