Subject: pkg/11565: xpm from pkgsrc fails to build
To: None <gnats-bugs@gnats.netbsd.org>
From: None <chris@buzzbee.freeserve.co.uk>
List: netbsd-bugs
Date: 11/25/2000 07:24:11
>Number:         11565
>Category:       pkg
>Synopsis:       xpm from latest pkgsrc fails to build
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 25 07:24:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        1.5 (freshly CVS'd pkgsrc)
>Organization:
>Environment:
	
System: NetBSD pinky.buzzbee.freeserve.co.uk 1.5_BETA2 NetBSD 1.5_BETA2 (PINKY) #0: Tue Nov 7 21:58:22 GMT 2000 chris@pinky.buzzbee.freeserve.co.uk:/usr/src/src/sys/arch/i386/compile/PINKY i386


>Description:
	xpm fails to build, it seems to look for a variable that is never defined unless xpm is installed.
>How-To-Repeat:
	using a system with default x server and without xpm attempt to build xpm. It comes back with the message:
The Xpm library is included in your X11 distribution.

>Fix:
The following patch sets the missing variable so that the xpm makefile will have a value returned.

Index: mk/bsd.pkg.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/bsd.pkg.mk,v
retrieving revision 1.616
diff -u -r1.616 bsd.pkg.mk
--- bsd.pkg.mk  2000/11/24 23:28:30     1.616
+++ bsd.pkg.mk  2000/11/25 15:18:20
@@ -791,6 +791,7 @@
 .else
 DEPENDS+=              xpm-3.4k:../../graphics/xpm
 XPMDIR_DEFAULT=                ${X11PREFIX}
+IS_BUILTIN_XPM=                0
 .endif
 .endif # USE_XPM
	
>Release-Note:
>Audit-Trail:
>Unformatted: