pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/perl5 Error out if the packlist isn't specified c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1e7c7cd83849
branches: trunk
changeset: 512146:1e7c7cd83849
user: jlam <jlam%pkgsrc.org@localhost>
date: Tue May 02 02:28:24 2006 +0000
description:
Error out if the packlist isn't specified correctly, so we don't pretend
to have a working PLIST and a successful installation.
diffstat:
lang/perl5/packlist.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r cff2f1d93da2 -r 1e7c7cd83849 lang/perl5/packlist.mk
--- a/lang/perl5/packlist.mk Tue May 02 02:27:23 2006 +0000
+++ b/lang/perl5/packlist.mk Tue May 02 02:28:24 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: packlist.mk,v 1.5 2006/04/09 06:34:32 jlam Exp $
+# $NetBSD: packlist.mk,v 1.6 2006/05/02 02:28:24 jlam Exp $
#
# This Makefile fragment is intended to be included by packages that
# create packlist files. This file is automatically included by
@@ -88,6 +88,10 @@
${_PKG_SILENT}${_PKG_DEBUG} \
${TEST} -n ${_PERL5_PACKLIST:Q}"" || exit 0; \
for file in ${_PERL5_PACKLIST}; do \
+ if ${TEST} ! -f "$$file"; then \
+ ${ECHO} 1>&2 "Perl packlist $$file is missing."; \
+ exit 1; \
+ fi; \
${AWK} '${_PERL5_PACKLIST_AWK_STRIP_MANZ} \
${_PERL5_PACKLIST_AWK_ADD_MANZ.${_MANZ}} \
{ print $$0 }' \
Home |
Main Index |
Thread Index |
Old Index