RFC: Re-work pkgdep/DEPORIGIN? (was: Re: How to LIB_DEPEND on pgsql client?)

Thierry Thomas thierry at pompo.net
Mon Jun 7 17:45:08 GMT 2004


Le Lun  7 jui 04 à 14:57:36 +0200, Ulrich Spoerlein <q at uni.de>
 écrivait :
> The real fix is IMHO not to blindly record the dependancy provided in
> the Makefile. That is:
> 
> LIB_DEPENDS+=   pq.3:${PORTSDIR}/databases/postgresql7-client
> 
> will record databases/postgresql7 as dependancy, no matter what package
> actually provided the libpq.so.3 in the first place. Postgres is not the
> only place where this is wrong, lang/php4 has the same problems. Most
> Ports require www/mod_php which I dont have installed. Instead I'm using
> lang/php4 with WITH_APACHE.

As far as php is concerned, this should not: bsd.php.mk should be used,
and it defines PHP_PORT; then the dependence is registered against this
PHP_PORT.

You can check what has been defined in /usr/local/etc/php.conf.
-- 
Th. Thomas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040607/c5081505/attachment.bin


More information about the freebsd-ports mailing list