pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: .wrapper/bin/cc ignoring -I/usr/pkg/include flag



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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss




Home | Main Index | Thread Index | Old Index