Subject: Re: pkg/12675: "bash" package can't be build on NetBSD 1.5 system
To: None <netbsd-bugs@netbsd.org>
From: Markus W Kilbinger <kilbi@rad.rwth-aachen.de>
List: netbsd-bugs
Date: 04/16/2001 11:09:54
>>>>> "Matthias" == Matthias Scheler <tron@zhadum.de> writes:

    Matthias> [...]

    >> Because of the first -I/usr/pkg/include, the #include
    >> <readline/readline.h> in bracecomp.c picks up the readline.h in
    >> /usr/pkg/include/readline, instead of the one in
    >> ./lib/readline. The former doesn't include the new rltypedefs.h
    >> file which defines all of the types in question.

    Matthias> That sounds like the correct idea. But the culprit is
    Matthias> probably the "USE_LIBINTL= yes" which is a NOP on 1.5U
    Matthias> but adds "-I/usr/pkg/include" on 1.5.1_BETA.

There is another strange "USE_LIBINTL= yes" effect, because the
libintl* (gettext) stuff is a pkgsrc thing in 1.5..., but part of the
system in -current. The real but is: It's libintl.so.0... in -current
and libintl.so.1... in pkgsrc. So, if you migrate from 1.5... to
-current you may run into big trouble with all the formar installed
pkgsrc stuff!

And what would be the 'correct' way to solve it in -current?
Installing the pkgsrc libintl.so.1..., too? (Not quite consistent...)

Markus.