Check explicitly if the distfile exists early and mark as broken for
bulk builds.
This commit is contained in:
parent
8c592818b5
commit
260f48a0bb
2 changed files with 10 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2009/10/11 15:33:41 sno Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2010/02/11 15:16:18 joerg Exp $
|
||||
|
||||
PKGNAME= sapcar-7.00
|
||||
CATEGORIES= archivers
|
||||
|
@ -62,6 +62,10 @@ MAINTAINER= pkgsrc-users@NetBSD.org
|
|||
COMMENT= SAP archiver
|
||||
LICENSE= sap-license
|
||||
|
||||
.if !exists(DOWNLOADED_DISTFILE) && make(pbulk-index)
|
||||
PKG_FAIL_REASON+= "Missing distfile"
|
||||
.endif
|
||||
|
||||
RESTRICTED= Only unmodified original package can be distributed
|
||||
NO_BIN_ON_CDROM= ${RESTRICTED}
|
||||
NO_BIN_ON_FTP= ${RESTRICTED}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue