From cc35ebc3a53a305d1b22ca09402182dd5867086f Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 26 Feb 2001 07:23:56 +0000 Subject: Add definition of PERL5_SITEARCH used earlier in Makefile. This variable is no longer automatically defined by bsd.pkg.mk, and this package can't USE_PERL5 as it's part of the perl5 meta-package. --- devel/p5-Data-Dumper/Makefile | 7 ++++++- devel/p5-Devel-DProf/Makefile | 7 ++++++- devel/p5-Devel-Peek/Makefile | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) (limited to 'devel') diff --git a/devel/p5-Data-Dumper/Makefile b/devel/p5-Data-Dumper/Makefile index 2d0ca4d88cf..5108204c132 100644 --- a/devel/p5-Data-Dumper/Makefile +++ b/devel/p5-Data-Dumper/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2001/02/16 14:38:47 wiz Exp $ +# $NetBSD: Makefile,v 1.15 2001/02/26 07:23:56 jlam Exp $ # FreeBSD Id: Makefile,v 1.7 1997/06/24 18:43:11 jfitz Exp DISTNAME= Data-Dumper-2.101 @@ -20,3 +20,8 @@ do-configure: @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL .include "../../mk/bsd.pkg.mk" + +.if !defined(PERL5_SITEARCH) +PERL5_SITEARCH!= eval `${PERL5} -V:installsitearch 2>/dev/null`; \ + ${ECHO} $${installsitearch} +.endif diff --git a/devel/p5-Devel-DProf/Makefile b/devel/p5-Devel-DProf/Makefile index f660989e012..7df47d073dd 100644 --- a/devel/p5-Devel-DProf/Makefile +++ b/devel/p5-Devel-DProf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2001/02/16 14:38:48 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2001/02/26 07:23:57 jlam Exp $ # DISTNAME= DProf-19990108 @@ -19,3 +19,8 @@ do-configure: @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL .include "../../mk/bsd.pkg.mk" + +.if !defined(PERL5_SITEARCH) +PERL5_SITEARCH!= eval `${PERL5} -V:installsitearch 2>/dev/null`; \ + ${ECHO} $${installsitearch} +.endif diff --git a/devel/p5-Devel-Peek/Makefile b/devel/p5-Devel-Peek/Makefile index 152561aad5e..4bf29c7d410 100644 --- a/devel/p5-Devel-Peek/Makefile +++ b/devel/p5-Devel-Peek/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2001/02/16 14:38:49 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2001/02/26 07:23:57 jlam Exp $ # DISTNAME= perl-5.6.0 @@ -23,3 +23,8 @@ do-configure: @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL .include "../../mk/bsd.pkg.mk" + +.if !defined(PERL5_SITEARCH) +PERL5_SITEARCH!= eval `${PERL5} -V:installsitearch 2>/dev/null`; \ + ${ECHO} $${installsitearch} +.endif -- cgit v1.2.3