pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/perl5 PERL5_INSTALLARCHLIB is no longer directly ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/74864a5f62d5
branches:  trunk
changeset: 466210:74864a5f62d5
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Jan 13 08:02:12 2004 +0000

description:
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:

 lang/perl5/module.mk |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r bca8f35cafaf -r 74864a5f62d5 lang/perl5/module.mk
--- a/lang/perl5/module.mk      Tue Jan 13 07:52:37 2004 +0000
+++ b/lang/perl5/module.mk      Tue Jan 13 08:02:12 2004 +0000
@@ -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 @@
 .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;                                                     \



Home | Main Index | Thread Index | Old Index