Subject: pkg/28934: x11/xlockmore doesn't install xlock
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <eric@eric.cirr.com>
List: pkgsrc-bugs
Date: 01/10/2005 22:33:00
>Number:         28934
>Category:       pkg
>Synopsis:       x11/xlockmore doesn't install xlock
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 10 22:33:00 +0000 2005
>Originator:     Eric Schnoebelen
>Release:        NetBSD 2.0
>Organization:
	Central Iowa (Model) Railroad
>Environment:
System: NetBSD snoopy.cirr.com 2.0 NetBSD 2.0 (GENERIC) #0: Wed Dec 1 19:30:19 
CST 2004 eric@egsner.cirr.com:/work/eric/NetBSD-2.0/obj/i386/sys/arch/i386/comp
ile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
	when attempting to build/install x11/xlockmore, the binaries do
	not get installed, while make says "`install' up to date".
>How-To-Repeat:
	cd $PKGSRCDIR/x11/xlockmore; make install
>Fix:
	It appears to be an artifact of the makefiles being designed for
	gnu make, and being executed with NetBSD's make.  Adding
	USE_GNU_TOOLS+=make causes the installation to occur as
	expected.

cvs diff: Diffing .
Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/x11/xlockmore/Makefile.common,v
retrieving revision 1.18
diff -b -u -w -r1.18 Makefile.common
- --- Makefile.common	27 Nov 2004 00:15:22 -0000	1.18
+++ Makefile.common	10 Jan 2005 21:12:57 -0000
@@ -43,6 +43,7 @@
 CPPFLAGS+=		${DEFINES}
 CXXFLAGS+=		${DEFINES}
 
+USE_GNU_TOOLS+=		make
 GNU_CONFIGURE=		YES
 CONFIGURE_ARGS+=        --without-motif
 CONFIGURE_ARGS+=        --without-editres