[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Variables in patches?
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: Re: Variables in patches?
- From: Dan Weeks <danimal_(_at_)_danimal_(_dot_)_org>
- Date: Wed, 09 Apr 2003 05:06:05 -0400
- Cc: Peter Hessler <phessler_(_at_)_theapt_(_dot_)_org>, Craig Barraclough <craigba_(_at_)_creative_(_dot_)_com_(_dot_)_au>
>>>>> "PH" == "Peter Hessler" <phessler_(_at_)_theapt_(_dot_)_org>:
PH> Several ports do it like this:
[...]
PH> If %%PREFIX%% is already something, then choose something else ($$PREFIX$$ maybe).
PH> Naturally it only works at compile time.
Why not just call it %%LOCALBASE%% (or %%X11BASE%%, or %%SYSCONFDIR%%, you
get the idea), then, later on when you revisit the port you'll know exactly
what is going on.
just my input, though.
-dan
Visit your host, monkey.org