Date: Fri, 5 Jun 2009 04:03:20 +0300 From: Ion-Mihai Tetcu <itetcu@FreeBSD.org> To: freebsd-ports@freebsd.org Subject: LOCALBASE vs. PREFIX Message-ID: <20090605040320.27df188b@it.buh.tecnik93.com>
next in thread | raw e-mail | index | archive | help
--Sig_/oQs0fs48aM9pA3oieC65aMr Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, I received quite a few patches and questions that hint at the idea the LOCALBASE and PREFIX are misunderstood. For short: PREFIX is where this ports installs. LOCALBASE is where already installed ports are. So for example you'd have: CFLAGS+=3D-I${LOCALBASE}/include -L${LOCALBASE}/lib If you see PREFIX in *FLAGS then something is wrong (and while here you might want to check that your port respects CFLAGS and friends passed to it from the env, that's the next QA check we'll be doing). It's also wrong if you have something like install .... files ... ${LOCALBASE}/bin By default, both LOCALBASE and PREFIX are '/usr/local', but we support them to be changed if the user so desires. There are currently 105 ports that fail on QATty because they don't respect custom PREFIX and custom LOCALBASE and we're only at devel/ with the testing. Quite a few maintainers fixed their ports and I expect patches from the rest of you :) It would be wonderful to get the tree in shape for 8.0 release. Thank you for your work, --=20 IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B --Sig_/oQs0fs48aM9pA3oieC65aMr Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkoobtgACgkQJ7GIuiH/oeUxDwCgmLLRUWEtRi8MJhXYAqqvFzaD hP0AnRJu13KXf5jj2K80DZ+bg5I6sXb4 =CR0Q -----END PGP SIGNATURE----- --Sig_/oQs0fs48aM9pA3oieC65aMr--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090605040320.27df188b>