Date: Mon, 18 Mar 2002 15:01:33 -0800 From: Terry Lambert <tlambert2@mindspring.com> To: John E Hein <jhein@timing.com> Cc: hackers@FreeBSD.ORG Subject: Re: ports & DESTDIR (was: STLPORT and gcc3 (openoffice porting)) Message-ID: <3C9671CD.6FECE2E0@mindspring.com> References: <bulk.10690.20020318034730@hub.freebsd.org> <15510.8721.546546.172867@brain.timing.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C9671CD.6FECE2E0>
