summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/perl5/packlist.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/perl5/packlist.mk b/lang/perl5/packlist.mk
index e5c2fb86c13..0175677bc56 100644
--- a/lang/perl5/packlist.mk
+++ b/lang/perl5/packlist.mk
@@ -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 @@ perl-packlist:
${_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 }' \