diff options
author | jlam <jlam@pkgsrc.org> | 2005-05-20 03:00:16 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-05-20 03:00:16 +0000 |
commit | 5a4310c9a222ae4684aef3e2f09c86fe415bb003 (patch) | |
tree | 89bc3019c9623f045d4ed22565ab2402949dd26e /mk | |
parent | 169a6feefac18afd16533a489f3f7af678444243 (diff) | |
download | pkgsrc-5a4310c9a222ae4684aef3e2f09c86fe415bb003.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.mk | 7 |
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 |