Subject: pkg/24331: x11/xworld configure failure on many platforms
To: None <gnats-bugs@gnats.NetBSD.org>
From: Min Sik Kim <minskim@bawi.org>
List: netbsd-bugs
Date: 02/05/2004 22:28:27
>Number:         24331
>Category:       pkg
>Synopsis:       x11/xworld configure failure on many platforms
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 06 04:29:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Min Sik Kim
>Release:        NetBSD 1.6ZH
>Organization:
>Environment:
>Description:
The configure script of x11/xworld defines some variables on a few
platforms.  On the other platforms, it fails because those variables
are not defined.

>How-To-Repeat:
'cd x11/xworld; make' on platforms other than NetBSD, Solaris, and
DigitalUnix.

>Fix:

The following patch defines the missing variables with reasonable
default values.

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/xworld/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	2004/02/05 22:19:45	1.7
+++ Makefile	2004/02/05 23:02:07
@@ -16,6 +16,7 @@
 
 CONFIGURE_ENV+=		PREFIX="${PREFIX}"
 CONFIGURE_ENV+=		LDLIBS="-lm ${LDFLAGS} -lX11"
+CONFIGURE_ENV+=		CAT="${CAT}" STRIP=strip INCLUDES="" MORELIBS=""
 
 SUBST_CLASSES+=		install
 SUBST_MESSAGE.install=	"Fixing install options."
>Release-Note:
>Audit-Trail:
>Unformatted:
 Environment:
 System: NetBSD sulley.infnis.com 1.6ZH NetBSD 1.6ZH (SULLEY) #3: Fri Jan 16 16:57:45 CST 2004 root@sulley.infnis.com:/usr/obj/sys/arch/i386/compile/SULLEY i386
 Architecture: i386
 Machine: i386