pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/perl5 Fixed pkglint warnings.
details: https://anonhg.NetBSD.org/pkgsrc/rev/3953fe746ec7
branches: trunk
changeset: 514233:3953fe746ec7
user: rillig <rillig%pkgsrc.org@localhost>
date: Fri Jun 09 08:50:24 2006 +0000
description:
Fixed pkglint warnings.
diffstat:
lang/perl5/packlist.mk | 25 +++++++++++++------------
1 files changed, 13 insertions(+), 12 deletions(-)
diffs (52 lines):
diff -r e6a835b0af67 -r 3953fe746ec7 lang/perl5/packlist.mk
--- a/lang/perl5/packlist.mk Fri Jun 09 08:38:53 2006 +0000
+++ b/lang/perl5/packlist.mk Fri Jun 09 08:50:24 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: packlist.mk,v 1.6 2006/05/02 02:28:24 jlam Exp $
+# $NetBSD: packlist.mk,v 1.7 2006/06/09 08:50:24 rillig Exp $
#
# This Makefile fragment is intended to be included by packages that
# create packlist files. This file is automatically included by
@@ -43,23 +43,23 @@
# Generate the PLIST from the files listed in PERL5_PACKLIST.
.if defined(_PERL5_PACKLIST)
-PERL5_PLIST_COMMENT= \
+PERL5_PLIST_COMMENT_CMD= \
{ ${ECHO} "@comment The following lines are automatically generated"; \
${ECHO} "@comment from the installed .packlist files."; }
-PERL5_PLIST_FILES= \
+PERL5_PLIST_FILES_CMD= \
{ ${CAT} ${_PERL5_PACKLIST}; for f in ${_PERL5_PACKLIST}; do ${TEST} ! -f "$$f" || ${ECHO} "$$f"; done; } \
- | ${SED} -e "s,[ ].*,," -e "s,/\./,/,g" -e "s,${PREFIX}/,," \
+ | ${SED} -e "s,[ ].*,," -e "s,/\\./,/,g" -e "s,${PREFIX}/,," \
| ${SORT} -u
-PERL5_PLIST_DIRS= \
+PERL5_PLIST_DIRS_CMD= \
{ ${CAT} ${_PERL5_PACKLIST}; for f in ${_PERL5_PACKLIST}; do ${TEST} ! -f "$$f" || ${ECHO} "$$f"; done; } \
- | ${SED} -e "s,[ ].*,," -e "s,/\./,/,g" -e "s,${PREFIX}/,," \
- -e "s,^,@unexec \${RMDIR} -p %D/," \
- -e "s,/[^/]*$$, 2>/dev/null || ${TRUE}," \
+ | ${SED} -e "s,[ ].*,," -e "s,/\\./,/,g" -e "s,${PREFIX}/,," \
+ -e "s,^,@unexec "${RMDIR:Q}" -p %D/," \
+ -e "s,/[^/]*\$$, 2>/dev/null || "${TRUE:Q}"," \
| ${SORT} -ur
-PERL5_GENERATE_PLIST= ${PERL5_PLIST_COMMENT}; \
- ${PERL5_PLIST_FILES}; \
- ${PERL5_PLIST_DIRS}
-GENERATE_PLIST+= ${PERL5_GENERATE_PLIST};
+PERL5_GENERATE_PLIST= ${PERL5_PLIST_COMMENT_CMD}; \
+ ${PERL5_PLIST_FILES_CMD}; \
+ ${PERL5_PLIST_DIRS_CMD};
+GENERATE_PLIST+= ${PERL5_GENERATE_PLIST}
.endif
###########################################################################
@@ -84,6 +84,7 @@
post-install: perl-packlist
.endif
+.PHONY: perl-packlist
perl-packlist:
${_PKG_SILENT}${_PKG_DEBUG} \
${TEST} -n ${_PERL5_PACKLIST:Q}"" || exit 0; \
Home |
Main Index |
Thread Index |
Old Index