summaryrefslogtreecommitdiff
path: root/lang/perl5/module.mk
diff options
context:
space:
mode:
authorjlam <jlam>2004-01-08 18:03:04 +0000
committerjlam <jlam>2004-01-08 18:03:04 +0000
commit999d5bbeebb982facb8e33535a55bcd15adeecae (patch)
treeb74955f0716141c3bab8b89545f616b75cf694cc /lang/perl5/module.mk
parentcfef61b4b87b4c6be330e02f72129f91851c91f6 (diff)
downloadpkgsrc-999d5bbeebb982facb8e33535a55bcd15adeecae.tar.gz
Fix PLIST issues for perl5 in the overwrite case after removing
packlist -> PLIST generator from bsd.pkg.mk to perl5/module.mk.
Diffstat (limited to 'lang/perl5/module.mk')
-rw-r--r--lang/perl5/module.mk14
1 files changed, 8 insertions, 6 deletions
diff --git a/lang/perl5/module.mk b/lang/perl5/module.mk
index af515527d91..682d8cf4249 100644
--- a/lang/perl5/module.mk
+++ b/lang/perl5/module.mk
@@ -1,4 +1,4 @@
-# $NetBSD: module.mk,v 1.27 2003/12/03 17:29:12 erh Exp $
+# $NetBSD: module.mk,v 1.28 2004/01/08 18:03:04 jlam Exp $
#
# This Makefile fragment is intended to be included by packages that build
# and install perl5 modules.
@@ -33,11 +33,13 @@ _PERL5_MODULE_MK= # defined
BUILDLINK_DEPMETHOD.perl+= full
-.if !defined(NO_BUILDLINK)
-. if empty(USE_BUILDLINK3:M[nN][oO])
-. include "../../lang/perl5/buildlink3.mk"
-. elif empty(USE_BUILDLINK2:M[nN][oO])
-. include "../../lang/perl5/buildlink2.mk"
+.if !defined(BUILDING_PERL5)
+. if !defined(NO_BUILDLINK)
+. if empty(USE_BUILDLINK3:M[nN][oO])
+. include "../../lang/perl5/buildlink3.mk"
+. elif empty(USE_BUILDLINK2:M[nN][oO])
+. include "../../lang/perl5/buildlink2.mk"
+. endif
. endif
.endif