summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2005-05-20 03:00:16 +0000
committerjlam <jlam>2005-05-20 03:00:16 +0000
commit31e40cd6b3726b49aa0c5ce2f45541ec06bdf40e (patch)
tree89bc3019c9623f045d4ed22565ab2402949dd26e /mk
parentd8c8ca124f615b46cb13ac4eafb7f81b1e2886ea (diff)
downloadpkgsrc-31e40cd6b3726b49aa0c5ce2f45541ec06bdf40e.tar.gz
Move the PLIST_SUBST lines that substitute for PERL5_* variables from
perl5/module.mk into tools/perl.mk so that the substitution occurs for all packages that use perl.
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/perl.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/tools/perl.mk b/mk/tools/perl.mk
index fa492ef317f..214b1adce75 100644
--- a/mk/tools/perl.mk
+++ b/mk/tools/perl.mk
@@ -1,4 +1,4 @@
-# $NetBSD: perl.mk,v 1.13 2005/05/19 03:52:23 jlam Exp $
+# $NetBSD: perl.mk,v 1.14 2005/05/20 03:00:16 jlam Exp $
#
# This Makefile fragment defines additional variables that are used by
# packages that use the perl tool.
@@ -19,4 +19,9 @@ CONFIGURE_ENV+= PERL=${TOOLS_${_TOOLS_VARNAME.perl}:Q}
# includes find-prefix.mk.
#
. include "../../lang/perl5/vars.mk"
+
+# Substitute for PERL5_* variables in PLISTs.
+PLIST_SUBST+= PERL5_SITELIB=${PERL5_SUB_INSTALLSITELIB}
+PLIST_SUBST+= PERL5_SITEARCH=${PERL5_SUB_INSTALLSITEARCH}
+PLIST_SUBST+= PERL5_ARCHLIB=${PERL5_SUB_INSTALLARCHLIB}
.endif