summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-13 08:02:12 +0000
committerjlam <jlam@pkgsrc.org>2004-01-13 08:02:12 +0000
commit83b22db1bf44ee89597efbd1a73ee91f0f3a728d (patch)
tree9441996546260e3c3648d9b901ac56a706e33284 /lang/perl5
parent231aa68659077b2557f4f98047a96feccf7414e2 (diff)
downloadpkgsrc-83b22db1bf44ee89597efbd1a73ee91f0f3a728d.tar.gz
PERL5_INSTALLARCHLIB is no longer directly set by this file, so create one
in the perl5-post-install target where it's needed for perl-5.6.1.
Diffstat (limited to 'lang/perl5')
-rw-r--r--lang/perl5/module.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/perl5/module.mk b/lang/perl5/module.mk
index d1ab0641ab1..79a1166d66d 100644
--- a/lang/perl5/module.mk
+++ b/lang/perl5/module.mk
@@ -1,4 +1,4 @@
-# $NetBSD: module.mk,v 1.31 2004/01/13 07:15:41 jlam Exp $
+# $NetBSD: module.mk,v 1.32 2004/01/13 08:02:12 jlam Exp $
#
# This Makefile fragment is intended to be included by packages that build
# and install perl5 modules.
@@ -156,7 +156,10 @@ post-install: perl5-post-install
.PHONY: perl5-post-install
perl5-post-install:
${_PKG_SILENT}${_PKG_DEBUG} \
- for dir in ${PERL5_INSTALLARCHLIB} ${PERL5_INSTALLSITEARCH}; do \
+ for dir in \
+ ${PREFIX}/${PERL5_SUB_INSTALLARCHLIB} \
+ ${PERL5_INSTALLSITEARCH}; \
+ do \
if [ -f $$dir/perllocal.pod ]; then \
${RM} -f $$dir/perllocal.pod; \
fi; \