Subject: pkg/6480: Mosaic package doesn't build
To: None <gnats-bugs@gnats.netbsd.org>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-bugs
Date: 11/22/1998 08:29:17
>Number: 6480
>Category: pkg
>Synopsis: Mosaic package fails to build
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 22 06:35:01 1998
>Last-Modified:
>Originator: Frederick Bruckman
>Organization:
>Release: Nov 22, 1998
>Environment:
System: NetBSD fb.sa.enteract.com 1.3I NetBSD 1.3I (FB) #146:
Fri Nov 20 14:17:04 CST 1998 fredb@fb.sa.enteract.com:
/usr/src/sys/arch/mac68k/compile/FB mac68k
>Description:
The Mosaic package fails to find the required X libraries during
the configure phase. The existing method of unconditionally setting
LDFLAGS in CONFIGURE_ENV fails, on several counts. The patch below
avoids these problems by preseting LDFLAGS.
>How-To-Repeat:
Try to build the Mosaic package. No fair having LDFLAGS already set
in your environment.
>Fix:
--- /usr/pkgsrc/www/Mosaic/Makefile.orig Fri Nov 13 06:35:56 1998
+++ /usr/pkgsrc/www/Mosaic/Makefile Sun Nov 15 10:01:24 1998
@@ -19,11 +19,12 @@
USE_X11= yes
USE_MOTIF= yes
+LDFLAGS+= -L${X11BASE}/lib
+
GNU_CONFIGURE= yes
-CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
- CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include"
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include"
CONFIGURE_ARGS= --with-zdir=/usr --with-jpegdir=${LOCALBASE} --with-pngdir=${LOCALBASE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/Mosaic ${PREFIX}/bin
>Audit-Trail:
>Unformatted: