Subject: Missing buildlink to xscreensaver
To: None <tech-pkg@netbsd.org>
From: Bang Jun-Young <junyoung@netbsd.org>
List: tech-pkg
Date: 01/29/2004 00:37:13
Hi,

x11/xscreensaver requires perl5 to build, but there's no explicit
dependency on it in the Makefile. As a result, you'll get an error
if you try to build xscreensaver on a system without perl5 installed.
The following patch fixes the problem:

Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/x11/xscreensaver/Makefile.common,v
retrieving revision 1.64
diff -u -r1.64 Makefile.common
--- Makefile.common	28 Dec 2003 12:47:09 -0000	1.64
+++ Makefile.common	28 Jan 2004 15:33:02 -0000
@@ -63,6 +63,7 @@
 USE_PKGSRC_GCC=		# defined
 .endif
 
+.include "../../lang/perl5/buildlink2.mk"
 .include "../../devel/gettext-lib/buildlink2.mk"
 .include "../../graphics/gle/buildlink2.mk"
 .include "../../graphics/jpeg/buildlink2.mk"

Is it okay?

Jun-Young

-- 
Bang Jun-Young <junyoung@NetBSD.org>