and installed extensions

Melvyn Sopacua ports at
Sun Nov 30 14:07:09 PST 2003


There currently is no way of knowing for other ports, which extensions are 
compiled with php. The only assumption that can be made is "if the library is 
installed, it prolly is compiled into php".

There is however a php.conf file installed and loaded into The 
attached patch hacks and lang/php4/Makefile to load PHPEXT_* 
variables into php.conf.

Dependent ports requiring a specific php extension can then include 
and set WANT_PHP${MODULE} and if that module is not installed, than a BROKEN 
message (maybe something more suttle is in order) is displayed.

I could probably hack this further and call upon 'pear install' if desired.

Is this a welcome addition or were there specific reasons that something like 
this wasn't done, when hacking together in the first place?


FreeBSD 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 
00:15:33 CET 2003     root at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-aa
Type: text/x-diff
Size: 1368 bytes
Desc: not available
Url :
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url :

More information about the freebsd-ports mailing list