Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jun 2004 19:45:04 +0200
From:      Thierry Thomas <thierry@pompo.net>
To:        ports@FreeBSD.ORG
Subject:   Re: RFC: Re-work pkgdep/DEPORIGIN? (was: Re: How to LIB_DEPEND on pgsql client?)
Message-ID:  <20040607174504.GA28072@graf.pompo.net>
In-Reply-To: <20040607125736.GA765@galgenberg.net>
References:  <20040602193835.496de20b@it.buh.cameradicommercio.ro> <20040602215840.GA86249@xor.obsecurity.org> <20040607125736.GA765@galgenberg.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--+QahgC5+KEYLbs62
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Le Lun  7 jui 04 =E0 14:57:36 +0200, Ulrich Spoerlein <q@uni.de>
 =E9crivait=A0:
> The real fix is IMHO not to blindly record the dependancy provided in
> the Makefile. That is:
>=20
> LIB_DEPENDS+=3D   pq.3:${PORTSDIR}/databases/postgresql7-client
>=20
> 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.
--=20
Th. Thomas.

--+QahgC5+KEYLbs62
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAxKmgc95pjMcUBaIRAlUtAKDMrA4UZ86DADEc74ATHWCwul1HJACdEren
y0UwOKdoal9VoLFbVYgDqL4=
=Q16Y
-----END PGP SIGNATURE-----

--+QahgC5+KEYLbs62--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040607174504.GA28072>