pkgsrc-Users archive

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

Re: adding builtin support

On Wed, 25 May 2011 19:08:31 +0900, Jörn Clausen 
<> wrote:

After moving the check for /usr/sfw ahead of the check of /usr, native
openssl is accepted. Close, but still no banana:

When I put the tested code in a file and use the gcc command shown above
from the command line, the code compiles and works. Where does pkgsrc
interfere here? When and how is -I/usr/sfw/include removed?

Basically, builtin package is assumed as picked up by compiler/linker by default
(without -I/-L option), except in X11BASE.
Probably, on your environment, compiler will not pick up include files
in /usr/sfw/include, linker will not picked up libraries in /usr/sfw/lib and
dynamic linker will not search shared libraries in /usr/swf/lib by default.

Probably, /usr/sfw is added to BUILDINK_PASSTHRU_DIRS, the issue will be gone 
I don't know where it should be handled.

I'm not sure if /usr/sfw is considered as builtin, but maybe,
pkgsrc/mk/buildlink3/ should be changed,
like handlinkg X11BASE.

OBATA Akio /

Home | Main Index | Thread Index | Old Index