summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-09-13 08:25:03 +0000
committerjlam <jlam@pkgsrc.org>2003-09-13 08:25:03 +0000
commit3e9653bd0bb5144731e031f93220b261db311e3d (patch)
tree8d5b9110c68ad3f736ec736b7dd49a3732d717e7
parent877c9d7248f6dbd99babf65ff40069300009258e (diff)
downloadpkgsrc-3e9653bd0bb5144731e031f93220b261db311e3d.tar.gz
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.
-rw-r--r--lang/perl5/module.mk7
1 files changed, 6 insertions, 1 deletions
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 \