summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>1998-12-29 17:23:39 +0000
committergarbled <garbled@pkgsrc.org>1998-12-29 17:23:39 +0000
commite35f6f1fda38259ad4c32bfbd0afe569723a463d (patch)
tree5c5aa9db66d2c2c810af880ca3ee9d33e14dfd9c /mk
parentdc54c2ba0d64f10dd94af7fb8334da60c9ce21a9 (diff)
downloadpkgsrc-e35f6f1fda38259ad4c32bfbd0afe569723a463d.tar.gz
Add a second check after branching to build a dependency to make sure it
actually completed succesfully before continuing on with the current build. This makes NOT_FOR_ARCHS and ONLY_FOR_ARCHS propogate up to the pkgs which depend on them.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 354c2033243..8d8091f8ee5 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.198 1998/11/26 23:39:15 hubertf Exp $
+# $NetBSD: bsd.pkg.mk,v 1.199 1998/12/29 17:23:39 garbled Exp $
#
# This file is in the public domain.
#
@@ -1707,6 +1707,11 @@ misc-depends: uptodate-pkgtools
${ECHO_MSG} ">> No directory for $$dir. Skipping.."; \
else \
(cd $$dir && ${MAKE} ${.MAKEFLAGS} $$target); \
+ found="`${PKG_INFO} -e \"$$package\" || ${TRUE}`"; \
+ if [ X"$$found" = X"" ]; then \
+ ${ECHO_MSG} "===> $$package did not install properly"; \
+ exit 1 ; \
+ fi; \
fi \
fi
.endfor