From ada19bb8e3ec7f22206bd4dd4da7ba61c1e5e77f Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 11 Feb 2010 15:16:18 +0000 Subject: Check explicitly if the distfile exists early and mark as broken for bulk builds. --- devel/sapnwrfcsdk/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'devel') 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 -- cgit v1.2.3