pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/perl5 Make PERL5_INSTALLSITELIB, PERL5_INSTALLSIT...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a995e51b00e0
branches:  trunk
changeset: 463752:a995e51b00e0
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Nov 25 15:37:35 2003 +0000

description:
Make PERL5_INSTALLSITELIB, PERL5_INSTALLSITEARCH, etc. public so that
package Makefiles can refer to the directory in which they install Perl5
site modules.

diffstat:

 lang/perl5/module.mk |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 011b3a16d7a2 -r a995e51b00e0 lang/perl5/module.mk
--- a/lang/perl5/module.mk      Tue Nov 25 14:44:39 2003 +0000
+++ b/lang/perl5/module.mk      Tue Nov 25 15:37:35 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: module.mk,v 1.22 2003/09/13 22:58:07 jlam Exp $
+# $NetBSD: module.mk,v 1.23 2003/11/25 15:37:35 jlam Exp $
 #
 # This Makefile fragment is intended to be included by packages that build
 # and install perl5 modules.
@@ -109,8 +109,8 @@
 # module's ${PREFIX}.
 #
 .for _var_ in ${_PERL5_SITEVARS} INSTALLSCRIPT
-_PERL5_${_var_}=       ${PREFIX}/${_PERL5_SUB_${_var_}}
-MAKE_FLAGS+=           ${_var_}="${_PERL5_${_var_}}"
+PERL5_${_var_}=        ${PREFIX}/${_PERL5_SUB_${_var_}}
+MAKE_FLAGS+=   ${_var_}="${PERL5_${_var_}}"
 .endfor
 #
 # The PREFIX in the generated Makefile will point to ${_PERL5_PREFIX},
@@ -167,7 +167,7 @@
 .PHONY: perl5-post-install
 perl5-post-install:
        ${_PKG_SILENT}${_PKG_DEBUG}                                     \
-       for dir in ${_PERL5_INSTALLARCHLIB} ${_PERL5_INSTALLSITEARCH}; do \
+       for dir in ${PERL5_INSTALLARCHLIB} ${PERL5_INSTALLSITEARCH}; do \
                if [ -f $$dir/perllocal.pod ]; then                     \
                        ${RM} -f $$dir/perllocal.pod;                   \
                fi;                                                     \



Home | Main Index | Thread Index | Old Index