PHP dependencies

Melvyn Sopacua freebsd-stable at webteckies.org
Mon Jul 14 06:38:09 PDT 2003


Hi,

recently there was an introduction of lang/php4/bsd.php.mk. It's quite nice to 
have it all centralized, but the old behavior, depended on the apache library 
being available, for packages like phpMyAdmin.

This worked quite nicely, if you use your own php installation and not the 
ports version, installed at a different place.

Now however, there's a need for ${LOCALBASE}/include/php/main/php.h, which 
means upgrading phpMyAdmin suddenly creates the port version of php as a 
dependency - this seems unnecessary as ${LOCALBASE}/libexec/apache/libphp4.so 
exists.

I understand if this is not something one can easily fix or even wants to fix, 
so then for the people searching the mailing list:
mkdir -p /usr/local/include/php/main
touch /usr/local/include/php/main/php.h

And you'll be able to use your own (CVS or older) version of php, with 
phpMyAdmin.

-- 
Melvyn
=======================================================
FreeBSD ghost.lan.webteckies.org 4.8-STABLE FreeBSD 4.8-STABLE #0: Sat Jul  5 
18:39:46 CEST 2003     
root at ghost.lan.webteckies.org:/usr/obj/usr/src/sys/GHOST  i386
=======================================================



More information about the freebsd-stable mailing list