From owner-freebsd-hackers Mon Mar 18 15: 2: 0 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by hub.freebsd.org (Postfix) with ESMTP id BAD0737B404 for ; Mon, 18 Mar 2002 15:01:54 -0800 (PST) Received: from pool0273.cvx21-bradley.dialup.earthlink.net ([209.179.193.18] helo=mindspring.com) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 16n68W-00015c-00; Mon, 18 Mar 2002 15:01:52 -0800 Message-ID: <3C9671CD.6FECE2E0@mindspring.com> Date: Mon, 18 Mar 2002 15:01:33 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: John E Hein Cc: hackers@FreeBSD.ORG Subject: Re: ports & DESTDIR (was: STLPORT and gcc3 (openoffice porting)) References: <15510.8721.546546.172867@brain.timing.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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