Subject: pkg/23649: buildlink's path is embedded into imlib-config
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 12/04/2003 21:02:56
>Number: 23649
>Category: pkg
>Synopsis: buildlink's path is embedded into imlib-config
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 04 12:03:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Kouichirou Hiratsuka
>Release: NetBSD 1.6ZF
>Organization:
>Environment:
System: NetBSD firefly.localdomain 1.6ZF NetBSD 1.6ZF (FIREFLY) #342: Thu Dec 4 14:25:30 JST 2003 root@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY i386
Architecture: i386
Machine: i386
>Description:
buildlink's path is embedded into imlib-config. It happens with
revision 1.9 of gtk/buildlink2.mk. Part of my imlib-config is as
follows.
--libs-gdk)
libdirs="-L${exec_prefix}/lib -Wl,-R${exec_prefix}/lib"
echo $libdirs -lgdk_imlib$gdk_gx_libs `/usr/pkgsrc/graphics/imlib/work/.buildlink/bin/gtk-config --libs` $gdk_libs
;;
Therefore, "--libs-gdk" and "--cflags-gdk" fail after cleaning the
imlib.
% imlib-config --libs-gdk
/usr/pkg/bin/imlib-config: /usr/pkgsrc/graphics/imlib/work/.buildlink/bin/gtk-config: not found
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgdk_imlib -lintl
%
>How-To-Repeat:
cd ${PKGSRCDIR}/graphics/imlib
make && make install && make clean
imlib-config --libs-gdk
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: