summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authorheinz <heinz>2005-04-01 22:37:44 +0000
committerheinz <heinz>2005-04-01 22:37:44 +0000
commit8661938263c32e4808d3cf336d9c9e6756df4b85 (patch)
treeb6b2e0e3b685b9113d65150c5ca0da15788cff19 /lang/perl5
parent2dde39c80e5a189bfc14f4fc0a914e5b58e89b21 (diff)
downloadpkgsrc-8661938263c32e4808d3cf336d9c9e6756df4b85.tar.gz
BUILDING_PERL5 is _always_ defined now, so test for a specific value.
This fixes (at least) the build of mail/p5-razor-agents on NetBSD 1.6.2. Ok'ed by jlam.
Diffstat (limited to 'lang/perl5')
-rw-r--r--lang/perl5/module.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/perl5/module.mk b/lang/perl5/module.mk
index 18cc1025452..250ec4402a6 100644
--- a/lang/perl5/module.mk
+++ b/lang/perl5/module.mk
@@ -1,4 +1,4 @@
-# $NetBSD: module.mk,v 1.43 2005/03/24 22:19:06 tv Exp $
+# $NetBSD: module.mk,v 1.44 2005/04/01 22:37:44 heinz Exp $
#
# This Makefile fragment is intended to be included by packages that build
# and install perl5 modules.
@@ -173,7 +173,7 @@ GENERATE_PLIST+= ${PERL5_GENERATE_PLIST};
# 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}"