Subject: Re: pkg/36921: emulators/vmware-module3 fails during build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: OBATA Akio <obache@netbsd.org>
List: pkgsrc-bugs
Date: 09/07/2007 13:30:02
The following reply was made to PR pkg/36921; it has been noted by GNATS.

From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/36921: emulators/vmware-module3 fails during build
Date: Fri, 07 Sep 2007 22:28:06 +0900

 On Fri, 07 Sep 2007 22:00:06 +0900, <diro@nixsyspaus.org> wrote:
 
 >  >  It seems using /usr/pkg/bin/bmake instead of /usr/bin/make.  Why?
 
 >  Oh, i did: bmake depend; bmake to build this package. I believe that was an
 >  important detail left out :0
 
 
 /usr/bin/make uses /usr/share/mk/*.mk, and /usr/pkg/bin/bmake uses /usr/pkg/share/mk,
 installed by pkgtools/bootstrap-mk-files.
 
 /usr/share/mk/bsd.kmod.mk add kernel header location by -isystem cpp flag.
 /usr/pkg/share/mk/bsd.kmod.mk add it by -I cpp flag.
 
 buildlink framework strips header location other than real depend packaegs specified by -I.
 You can control this special directory list with variable ${BUILDLINK_PASSTHRU_DIRS}.
 
 -- 
 "Of course I love NetBSD":-)
 OBATA Akio / obache@NetBSD.org