Subject: pkg/6480: Mosaic package doesn't build
To: None <>
From: Frederick Bruckman <>
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
>Originator:     Frederick Bruckman

>Release:        Nov 22, 1998
System: NetBSD 1.3I NetBSD 1.3I (FB) #146: 
Fri Nov 20 14:17:04 CST 1998
/usr/src/sys/arch/mac68k/compile/FB mac68k

	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.
	Try to build the Mosaic package. No fair having LDFLAGS already set 
	in your environment.
--- /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
-               CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include"
 CONFIGURE_ARGS=        --with-zdir=/usr --with-jpegdir=${LOCALBASE} --with-pngdir=${LOCALBASE}
        ${INSTALL_PROGRAM} ${WRKSRC}/src/Mosaic ${PREFIX}/bin