Porter's Handbook: PREFIX and DESTDIR
Eitan Adler
lists at eitanadler.com
Wed Jan 4 22:23:08 UTC 2012
On Wed, Jan 4, 2012 at 9:22 AM, Warren Block <wblock at wonkity.com> wrote:
> The section on PREFIX and DESTDIR in the Porter's Handbook is unclear and
> confusing. Following up from a thread in -doc, here are the proposed
> changes so far.
Thanks for working on this.
> Beyond some rewriting and clarification, I removed the mention of LOCALBASE
> sometimes being /opt, which is covered by saying it can be a custom path.
It may be useful to give an explicit example of what paths users choose.
> Is there any reason to keep the references to /usr/X11R6?
No, all references to X11BASE will be removed shortly anyways.
> is not clear, and was rewritten to
>
> PREFIX should not be set explicitly in a port's Makefile. Users
> installing the port may have set PREFIX to a custom location, and the
> port should respect that setting.
>
> Does that capture the intended meaning of the original? Has it left
> anything out?
This is much better.
--
Eitan Adler
More information about the freebsd-ports
mailing list