I've just changed slightly the way FAKE_FLAGS works.
Should have done this long ago, but this affects about ~300 Makefiles,
so I had to run tests.

Since we now have 4500 packages, it's possible some new thingy was
committed while I was checking this, or that new stuff may need changing.

What I did is simplify stuff.

FAKE_FLAGS is not just `tweaks' that add up during the normal install
process.

Instead of having some default definition of FAKE_FLAGS that says
FAKE_FLAGS=${MAKE_FLAGS} ${DESTDIRNAME}=${WRKINST}, the fake process now uses

ALL_FAKE_FLAGS=${MAKE_FLAGS} ${DESTDIRNAME}=${WRKINST} ${FAKE_FLAGS}

so, inheriting the MAKE_FLAGS value is no longer optional, and
${DESTDIRNAME} is always set.

- if you don't need a DESTDIR, set DESTDIRNAME=none or something
- if some inherited values from MAKE_FLAGS don't make sense, just
redefine them afterwards...

All in all, this makes for *less* Makefiles that need to override FAKE_FLAGS
default, and it's usually simpler.

If you're following current, that means you have to synch your port tree:
if you just update a given port, and not update infrastructure/, then you're
likely to run into a port which needs the fixed semantics (300 changes out
of 4500).

Reply via email to