Date: Sun, 24 Sep 2006 01:46:48 +0800 From: LI Xin <delphij@delphij.net> To: freebsd-ports@FreeBSD.org Subject: Proper way to detect build-time configuration if all files are under the same name? Message-ID: <45157308.5020600@delphij.net>
next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6016711B7A33E82DDB548308 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, In ports/102613, the submitter has pointed out a problem that the build infrastructure can not detect the present OpenLDAP configuration at build time, and thus causing dependency problem when being rebuilt. This occurs on some other ports as well. Is it possible to make the package registration stage to detect actual port name that has installed the specified dependency file? Or is there any way to solve the problem? Long version: Say, we have a file, called "${PREFIX}/foo/bar" installed by a port foo-1.0. Another port, say, foo-feature-1.0, also installs that file. In the dependency of third port, say, bar-1.0, we define: RUN_DEPENDS=3D ${PREFIX}/foo/bar:${PORTSDIR}/net/foo then the ports infrastructure would consider net/foo as dependency, regardless whether foo or foo-feature is acutaly installed. Of course it is possible to install a file with the name ${PREFIX}/foo/bar-feature but I think that's too dirty a hack... Cheers, --=20 Xin LI <delphij@delphij.net> http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enig6016711B7A33E82DDB548308 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFFXMIOfuToMruuMARA3iQAJwJs6xakOIxfzFdObEMPZcycTx1AwCfU1pd 2pBpsp2THC6g1EMOwSR/olQ= =2pAe -----END PGP SIGNATURE----- --------------enig6016711B7A33E82DDB548308--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45157308.5020600>