Proposal: mechanism for local patches

G. Paul Ziemba pz-freebsd-ports at ziemba.us
Tue Dec 2 18:14:55 PST 2008


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}/
-- 
G. Paul Ziemba
FreeBSD unix:
 6:11PM  up 2 days,  3:41, 8 users, load averages: 1.58, 1.39, 1.31


More information about the freebsd-ports mailing list