Subject: pkg/11565: xpm from pkgsrc fails to build
To: None <>
From: None <>
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
>Release:        1.5 (freshly CVS'd pkgsrc)
System: NetBSD 1.5_BETA2 NetBSD 1.5_BETA2 (PINKY) #0: Tue Nov 7 21:58:22 GMT 2000 i386

	xpm fails to build, it seems to look for a variable that is never defined unless xpm is installed.
	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.

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

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