From owner-freebsd-ports@FreeBSD.ORG Mon Jun 7 17:45:08 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AA7716A4CE for ; Mon, 7 Jun 2004 17:45:08 +0000 (GMT) Received: from graf.pompo.net (graf.pompo.net [81.56.186.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1E0643D54 for ; Mon, 7 Jun 2004 17:45:07 +0000 (GMT) (envelope-from thierry@pompo.net) Received: by graf.pompo.net (Postfix, from userid 1001) id CCA91768E; Mon, 7 Jun 2004 19:45:04 +0200 (CEST) Date: Mon, 7 Jun 2004 19:45:04 +0200 From: Thierry Thomas To: ports@FreeBSD.ORG Message-ID: <20040607174504.GA28072@graf.pompo.net> Mail-Followup-To: ports@FreeBSD.ORG References: <20040602193835.496de20b@it.buh.cameradicommercio.ro> <20040602215840.GA86249@xor.obsecurity.org> <20040607125736.GA765@galgenberg.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline In-Reply-To: <20040607125736.GA765@galgenberg.net> X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc; y=\ipKMNm<1J>lv@PP~7Z<.t KjAnXLs: User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 4.10-STABLE i386 Organization: Kabbale Eros X-PGP: 0xC71405A2 Subject: Re: RFC: Re-work pkgdep/DEPORIGIN? (was: Re: How to LIB_DEPEND on pgsql client?) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 17:45:08 -0000 --+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 =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--