Proposal: mechanism for local patches
Wesley Shields
wxs at FreeBSD.org
Tue Dec 2 18:25:04 PST 2008
On Wed, Dec 03, 2008 at 02:14:20AM +0000, G. Paul Ziemba wrote:
> john.marshall at riverwillow.com.au (John Marshall) writes:
>
> >On Tue, 02 Dec 2008, 21:07 +0300, Dmitry Marakasov wrote:
> >> I think the most convenient way of implementing this is having
> >> a directory hierarchy (either two level ${CATEGORY}/${PORTNAME}/patch-*)
> >> or single level ${PORTNAME}/patch-*) and a single variable that makes
> >> port system look there for patches in addition to ${PATCHDIR}.
>
> >Or keep local patches under /var/db/ports/<port> rather than building a
> >new tree?
>
> Hmm. I haven't really understood the way directories get named in
> /var/db/ports/ - what happens when there is a collision in the
> base name of two ports? It seems less obvious than
> /<foo>/${CATEGORY}/${PORTNAME}/
It uses UNIQUENAME, which is documented in Mk/bsd.port.mk.
-- WXS
More information about the freebsd-ports
mailing list