Subject: Re: .wrapper/bin/cc ignoring -I/usr/pkg/include flag
To: Brendon Costa <brendon@christian.net>
From: Roland Illig <rillig@NetBSD.org>
List: tech-pkg
Date: 08/13/2007 14:51:07
Brendon Costa wrote:
>>pkgsrc hides everything from the compiler that is not explicitly
>>mentioned as a dependency. Adding the following line to your package
>>Makefile should be enough:
>>
>>.include "../../devel/binutils/buildlink3.mk"
>>
>>Roland
> 
> 
> That is already in my Makefile. I am updating my pkgsrc now as i have is
> a couple of years old, which may make a significant difference.

I see. The problem is that your platform already provides binutils and 
pkgsrc decides that in can use them. The downside is that in that case, 
the header files and libraries are not installed into 
.buildlink/{include,lib}.

Question to the other pkgsrc developers: How do other packages handle 
this case? How are the necessary header files and libraries copied into 
BUILDLINK_DIR if the package is built-in?

Roland