summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2005-04-01 22:37:44 +0000
committerheinz <heinz@pkgsrc.org>2005-04-01 22:37:44 +0000
commita80c501c1ed649ab2731f956b24ec7ed5e12fafe (patch)
treeb6b2e0e3b685b9113d65150c5ca0da15788cff19 /lang/perl5
parent41a868677ef461c1626301ecf855c9cd5a0aab67 (diff)
downloadpkgsrc-a80c501c1ed649ab2731f956b24ec7ed5e12fafe.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}"