From owner-freebsd-current Fri Mar 8 11:13:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id E6DF837B402; Fri, 8 Mar 2002 11:13:46 -0800 (PST) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g28JDk912554; Fri, 8 Mar 2002 11:13:46 -0800 (PST) (envelope-from rizzo) Date: Fri, 8 Mar 2002 11:13:46 -0800 From: Luigi Rizzo To: current@freebsd.org Cc: ru@freebsd.org Subject: can someone explain this change to bsd.lib.mk ? Message-ID: <20020308111346.A12303@iguana.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The attached portion of the 1.100 -> 1.101 patch to src/share/mk/bsd.lib.mk (and a similar one in bsd.prog.mk 1.103 -> 1.104) broke cross builds of PicoBSD, specifically preventing the cross-environment header files to be found when building libraries/programs. You can reproduce this by doing picobsd --src HEAD/src --init -n -v on a recently cvsupped HEAD tree. I wonder, how does a "make world" get around this problem (so i can try to reproduce the 'fix' in the picobsd script) ? thanks luigi @@ -37,11 +37,6 @@ SHLIB_NAME?= lib${LIB}.so.${SHLIB_MAJOR} .endif .endif -.if defined(DESTDIR) && !defined(BOOTSTRAPPING) -CFLAGS+= -I${DESTDIR}/usr/include -CXXINCLUDES+= -I${DESTDIR}/usr/include/g++ -.endif - .if defined(DEBUG_FLAGS) CFLAGS+= ${DEBUG_FLAGS} .endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message