Subject: pkg/19488: gtk does not build correctly with LOCALBASE!=/usr/pkg
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mlh@goathill.org>
List: netbsd-bugs
Date: 12/22/2002 00:45:48
>Number: 19488
>Category: pkg
>Synopsis: gtk does not build correctly with LOCALBASE!=/usr/pkg
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Dec 21 22:47:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: MLH
>Release: NetBSD 1.6K
>Organization:
none
>Environment:
System: NetBSD tiamat.goathill.org 1.6K NetBSD 1.6K (TIAMAT) #1: Sat Dec 14 22:43:55 CST 2002 kent@tiamat.goathill.org:/usr/syssrc/sys/arch/i386/compile/TIAMAT i386
Architecture: i386
Machine: i386
>Description:
x11/gtk fails to build when LOCALBASE!=/usr/pkg. It calls
/usr/pkg/bin/glib-config, which does not exist.
>How-To-Repeat:
set LOCALBASE=<some_other_dir>
make
glib-config fails
>Fix:
set --with-glib-prefix or --with-glib-exec-prefix as with the follwing patch:
------------------
--- Makefile.orig Sun Dec 22 00:36:09 2002
+++ Makefile Sun Dec 22 00:35:15 2002
@@ -25,6 +25,7 @@
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-xinput=xfree \
--with-native-locale=yes \
+ --with-glib-prefix=${LOCALBASE} \
--sysconfdir=${X11PREFIX}/share
CONFIGURE_ENV+= X_LDFLAGS="${X_LDFLAGS}"
>Release-Note:
>Audit-Trail:
>Unformatted:
gtk calls '/usr/pkg/bin/glib-config' when LOCALBASE!=/usr/pkg, build fails