From 999d5bbeebb982facb8e33535a55bcd15adeecae Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 8 Jan 2004 18:03:04 +0000 Subject: Fix PLIST issues for perl5 in the overwrite case after removing packlist -> PLIST generator from bsd.pkg.mk to perl5/module.mk. --- lang/perl5/module.mk | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'lang/perl5/module.mk') 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 -- cgit v1.2.3