John E Hein wrote:
> > From bsd.prog.mk:
> > - ----------------------------------------------------------------
> > .if defined(DESTDIR) && !defined(BOOTSTRAPPING)
> > CFLAGS+= -I${DESTDIR}/usr/include
> > CXXINCLUDES+= -I${DESTDIR}/usr/include/g++
> > .endif
> > - ----------------------------------------------------------------
>
> bsd.ports.mk uses DESTDIR differently (wrongly IMO) than FreeBSD's
> buildworld or the rest of the world as far as I have seen. See (and
> lobby for) ports/28155. Unfortunately, the fix in 28155 will make
> DESTDIR behave the "right" way, and thus anyone expecting the "wrong"
> behavior will be surprised. OTOH, any ports using DESTDIR will do the
> wrong thing now anyway in many cases (see the How-To-Repeat in PR 28155).
FWIW, bsd.lib.mk does the same thing. I'm not sure if that's
tarred by your PR or not (I would have looked, if you'd
posted a URL rathe than just a number... 8-)).
Eventually, the bullet will have to be bitten.
-- Terry
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message