pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk If the directory of a dependency does not exist, fa...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ffb774612204
branches: trunk
changeset: 503371:ffb774612204
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Nov 19 12:30:41 2005 +0000
description:
If the directory of a dependency does not exist, fail instead of (almost)
silently skipping the dependency.
diffstat:
mk/bsd.pkg.mk | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r e6e837b2179e -r ffb774612204 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Sat Nov 19 12:03:22 2005 +0000
+++ b/mk/bsd.pkg.mk Sat Nov 19 12:30:41 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1761 2005/11/18 17:07:13 tv Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1762 2005/11/19 12:30:41 rillig Exp $
#
# This file is in the public domain.
#
@@ -3638,7 +3638,8 @@
target=${DEPENDS_TARGET:Q}; \
${ECHO_MSG} "${_PKGSRC_IN}> Verifying $$target for $$dir"; \
if [ ! -d $$dir ]; then \
- ${ECHO_MSG} "=> No directory for $$dir. Skipping.."; \
+ ${ECHO_MSG} "=> [bsd.pkg.mk] error: The directory $$dir does not exist."; \
+ exit 1; \
else \
cd $$dir ; \
${SETENV} _PKGSRC_DEPS=", ${PKGNAME}${_PKGSRC_DEPS}" PKGNAME_REQD=\'$$pkg\' ${MAKE} ${MAKEFLAGS} _AUTOMATIC=YES $$target || exit 1; \
Home |
Main Index |
Thread Index |
Old Index