Bug 76231

Summary: Existance of PHP5 installation breaks devel/swig13 port
Product: Ports & Packages Reporter: Pascal G. Hofstee <caelian>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Pascal G. Hofstee 2005-01-14 03:10:28 UTC
	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 ....

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.
How-To-Repeat: 	- Install lang/php5.
	- Try to install devel/swig13 explicitely disabling the php4 swig-language
	  binding.
Comment 1 Anton Berezin freebsd_committer freebsd_triage 2005-01-14 08:27:35 UTC
Responsible Changed
From-To: freebsd-ports-bugs->knu

Over to maintainer.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2005-07-20 08:11:39 UTC
Responsible Changed
From-To: knu->freebsd-ports-bugs

Maintainer was reset.
Comment 3 Yen-Ming Lee freebsd_committer freebsd_triage 2005-07-25 16:28:22 UTC
State Changed
From-To: open->closed

Fixed in ports/82240