pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/perl5 Add print-PLIST support for perl modules wi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a4177380fdd5
branches: trunk
changeset: 594433:a4177380fdd5
user: obache <obache%pkgsrc.org@localhost>
date: Fri Oct 28 07:41:52 2011 +0000
description:
Add print-PLIST support for perl modules without .packlist.
diffstat:
lang/perl5/vars.mk | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r fa74e67c2d2d -r a4177380fdd5 lang/perl5/vars.mk
--- a/lang/perl5/vars.mk Fri Oct 28 06:16:12 2011 +0000
+++ b/lang/perl5/vars.mk Fri Oct 28 07:41:52 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: vars.mk,v 1.4 2008/01/29 16:41:36 tnn Exp $
+# $NetBSD: vars.mk,v 1.5 2011/10/28 07:41:52 obache Exp $
#
# This Makefile fragment exposes several Perl configuration variables
# to the package Makefiles. The variables are only defined if the
@@ -8,7 +8,7 @@
_PERL5_VARS= INSTALLARCHLIB INSTALLSCRIPT \
INSTALLVENDORBIN INSTALLVENDORSCRIPT \
- INSTALLVENDORLIB INSTALLVENDORARCH \
+ INSTALLVENDORARCH INSTALLVENDORLIB \
INSTALLVENDORMAN1DIR INSTALLVENDORMAN3DIR
.if defined(PERL5) && exists(${PERL5:Q})
@@ -37,5 +37,8 @@
PERL5_${_var_}?= ${PREFIX}/${PERL5_SUB_${_var_}}
MAKEVARS+= PERL5_SUB_${_var_}
PLIST_SUBST+= PERL5_SUB_${_var_}=${PERL5_SUB_${_var_}:Q}
+PRINT_PLIST_AWK+= /^${PERL5_SUB_${_var_}:S|/|\\/|g}/ \
+ { gsub(/${PERL5_SUB_${_var_}:S|/|\\/|g}/, \
+ "$${PERL5_SUB_${_var_}}") }
. endfor
.endif # PERL5
Home |
Main Index |
Thread Index |
Old Index