summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-11 15:16:18 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-11 15:16:18 +0000
commitada19bb8e3ec7f22206bd4dd4da7ba61c1e5e77f (patch)
tree31a658bc374f023b9a7356b0a73f28e64ed43a37 /devel
parentb27e0cadd77666ac4ed5f38a6e2311b1563c94b6 (diff)
downloadpkgsrc-ada19bb8e3ec7f22206bd4dd4da7ba61c1e5e77f.tar.gz
Check explicitly if the distfile exists early and mark as broken for
bulk builds.
Diffstat (limited to 'devel')
-rw-r--r--devel/sapnwrfcsdk/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/sapnwrfcsdk/Makefile b/devel/sapnwrfcsdk/Makefile
index fbac87689b7..5c323b1a383 100644
--- a/devel/sapnwrfcsdk/Makefile
+++ b/devel/sapnwrfcsdk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2009/10/11 15:33:27 sno Exp $
+# $NetBSD: Makefile,v 1.4 2010/02/11 15:16:18 joerg Exp $
PKGNAME= sapnwrfcsdk-7.11
CATEGORIES= devel
@@ -61,6 +61,10 @@ BROKEN= Architecture ${MACHINE_ARCH} on platform ${OPSYS} not supported
BROKEN= Platform ${OPSYS} not supported
.endif
+.if !exists(DOWNLOADED_DISTFILE) && make(pbulk-index)
+PKG_FAIL_REASON+= "Missing distfile"
+.endif
+
EXTRACT_CMD= SAPCAR -xvf ${DOWNLOADED_DISTFILE}
MAINTAINER= pkgsrc-users@NetBSD.org