[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Variables in patches?



>>>>> "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