From 3e9653bd0bb5144731e031f93220b261db311e3d Mon Sep 17 00:00:00 2001 From: jlam Date: Sat, 13 Sep 2003 08:25:03 +0000 Subject: All pkgsrc-installed perl modules are installed in the "site" directories, so pass INSTALLDIRS=site to the Makefile.PL script. This overrides any INSTALLDIRS setting in Makefile.PL. --- lang/perl5/module.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lang/perl5/module.mk b/lang/perl5/module.mk index 49b756191e6..e2170f25b80 100644 --- a/lang/perl5/module.mk +++ b/lang/perl5/module.mk @@ -1,4 +1,4 @@ -# $NetBSD: module.mk,v 1.14 2003/09/13 01:56:25 jlam Exp $ +# $NetBSD: module.mk,v 1.15 2003/09/13 08:25:03 jlam Exp $ # # This Makefile fragment is intended to be included by packages that build # and install perl5 modules. @@ -42,6 +42,11 @@ BUILDLINK_DEPMETHOD.perl+= full PERL5_CONFIGURE?= YES PERL5_CONFIGURE_DIRS?= ${CONFIGURE_DIRS} +# All pkgsrc-install perl modules are installed into the "site" +# directories. +# +MAKE_PARAMS+= INSTALLDIRS=site + perl5-configure: ${_PKG_SILENT}${_PKG_DEBUG} \ for dir in ${PERL5_CONFIGURE_DIRS}; do \ -- cgit v1.2.3