Subject: missing MAKE_FLAGS for perl modules
To: None <tech-pkg@NetBSD.org>
From: Klaus Heinz <k.heinz.maer.fuenf@onlinehome.de>
List: tech-pkg
Date: 03/26/2005 02:38:47
--LQksG6bCIzRHxTLp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi,
installing p5-razor-agents (and probably other packages) does not work
correctly at the moment because MAKE_FLAGS is empty.
Any objections to the appended change? This should be in -2005Q1 as
well.
ciao
Klaus
--LQksG6bCIzRHxTLp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="module.diff"
Index: lang/perl5/module.mk
===================================================================
RCS file: /cvsroot/pkgsrc/lang/perl5/module.mk,v
retrieving revision 1.43
diff -u -r1.43 module.mk
--- lang/perl5/module.mk 24 Mar 2005 22:19:06 -0000 1.43
+++ lang/perl5/module.mk 26 Mar 2005 01:37:02 -0000
@@ -173,7 +173,7 @@
# directory where the perllocal.pod file should be installed, which
# should point into the package prefix.
#
-.if !defined(BUILDING_PERL5)
+.if empty(BUILDING_PERL5:M[yY][eE][sS])
MAKE_FLAGS+= ${PERL5_MAKE_FLAGS}
BUILD_MAKE_FLAGS= ${MAKE_FLAGS}
BUILD_MAKE_FLAGS+= INSTALLARCHLIB="${VIEWBASE}/${PERL5_SUB_INSTALLARCHLIB}"
--LQksG6bCIzRHxTLp--