Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Mar 2002 11:13:46 -0800
From:      Luigi Rizzo <rizzo@icir.org>
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>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020308111346.A12303>