Thu Feb 11 15:16:19 2010 UTC ()
Check explicitly if the distfile exists early and mark as broken for
bulk builds.


(joerg)
diff -r1.3 -r1.4 pkgsrc/archivers/sapcar/Makefile
diff -r1.3 -r1.4 pkgsrc/devel/sapnwrfcsdk/Makefile

cvs diff -r1.3 -r1.4 pkgsrc/archivers/sapcar/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/archivers/sapcar/Attic/Makefile 2009/10/11 15:33:41 1.3
+++ pkgsrc/archivers/sapcar/Attic/Makefile 2010/02/11 15:16:18 1.4
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.3 2009/10/11 15:33:41 sno Exp $ 1# $NetBSD: Makefile,v 1.4 2010/02/11 15:16:18 joerg Exp $
2 2
3PKGNAME= sapcar-7.00 3PKGNAME= sapcar-7.00
4CATEGORIES= archivers 4CATEGORIES= archivers
5EXTRACT_SUFX= # empty 5EXTRACT_SUFX= # empty
6 6
7PKG_DESTDIR_SUPPORT= user-destdir 7PKG_DESTDIR_SUPPORT= user-destdir
8 8
9.include "../../emulators/sap/Makefile.common" 9.include "../../emulators/sap/Makefile.common"
10 10
11.if ${SAP_OPSYS} == "linux" 11.if ${SAP_OPSYS} == "linux"
12.if ${SAP_ARCH} == "x86_64" 12.if ${SAP_ARCH} == "x86_64"
13DISTNAME= SAPCAR_0-10003690.exe 13DISTNAME= SAPCAR_0-10003690.exe
14.elif ${SAP_ARCH} == "i386" 14.elif ${SAP_ARCH} == "i386"
@@ -52,26 +52,30 @@ DISTNAME= SAPCAR_0-10003694.exe @@ -52,26 +52,30 @@ DISTNAME= SAPCAR_0-10003694.exe
52.elif ${SAP_ARCH} == "ia64" 52.elif ${SAP_ARCH} == "ia64"
53DISTNAME= SAPCAR_0-10003695.exe 53DISTNAME= SAPCAR_0-10003695.exe
54.else 54.else
55BROKEN= Architecture ${MACHINE_ARCH} on platform ${OPSYS} not supported 55BROKEN= Architecture ${MACHINE_ARCH} on platform ${OPSYS} not supported
56.endif 56.endif
57.else 57.else
58BROKEN= Platform ${OPSYS} not supported 58BROKEN= Platform ${OPSYS} not supported
59.endif 59.endif
60 60
61MAINTAINER= pkgsrc-users@NetBSD.org 61MAINTAINER= pkgsrc-users@NetBSD.org
62COMMENT= SAP archiver 62COMMENT= SAP archiver
63LICENSE= sap-license 63LICENSE= sap-license
64 64
 65.if !exists(DOWNLOADED_DISTFILE) && make(pbulk-index)
 66PKG_FAIL_REASON+= "Missing distfile"
 67.endif
 68
65RESTRICTED= Only unmodified original package can be distributed 69RESTRICTED= Only unmodified original package can be distributed
66NO_BIN_ON_CDROM= ${RESTRICTED} 70NO_BIN_ON_CDROM= ${RESTRICTED}
67NO_BIN_ON_FTP= ${RESTRICTED} 71NO_BIN_ON_FTP= ${RESTRICTED}
68 72
69WRKSRC= ${WRKDIR}/SAPCAR 73WRKSRC= ${WRKDIR}/SAPCAR
70BUILD_DIRS= # empty 74BUILD_DIRS= # empty
71 75
72NO_CONFIGURE= yes 76NO_CONFIGURE= yes
73NO_BUILD= yes 77NO_BUILD= yes
74 78
75do-extract: 79do-extract:
76 ${MKDIR} ${WRKSRC:Q} 80 ${MKDIR} ${WRKSRC:Q}
77.for f in ${DISTNAME} 81.for f in ${DISTNAME}

cvs diff -r1.3 -r1.4 pkgsrc/devel/sapnwrfcsdk/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/sapnwrfcsdk/Attic/Makefile 2009/10/11 15:33:27 1.3
+++ pkgsrc/devel/sapnwrfcsdk/Attic/Makefile 2010/02/11 15:16:18 1.4
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.3 2009/10/11 15:33:27 sno Exp $ 1# $NetBSD: Makefile,v 1.4 2010/02/11 15:16:18 joerg Exp $
2 2
3PKGNAME= sapnwrfcsdk-7.11 3PKGNAME= sapnwrfcsdk-7.11
4CATEGORIES= devel 4CATEGORIES= devel
5 5
6PKG_DESTDIR_SUPPORT= user-destdir 6PKG_DESTDIR_SUPPORT= user-destdir
7 7
8.include "../../emulators/sap/Makefile.common" 8.include "../../emulators/sap/Makefile.common"
9 9
10DISTRIBUTED_SHEXT= so 10DISTRIBUTED_SHEXT= so
11.if ${SAP_OPSYS} == "linux" 11.if ${SAP_OPSYS} == "linux"
12.if ${SAP_ARCH} == "x86_64" 12.if ${SAP_ARCH} == "x86_64"
13DISTNAME= NWRFC_1-20004549 13DISTNAME= NWRFC_1-20004549
14.elif ${SAP_ARCH} == "i386" 14.elif ${SAP_ARCH} == "i386"
@@ -51,26 +51,30 @@ DISTRIBUTED_SHEXT= dll @@ -51,26 +51,30 @@ DISTRIBUTED_SHEXT= dll
51.if ${SAP_ARCH} == "x86_64" 51.if ${SAP_ARCH} == "x86_64"
52DISTNAME= NWRFC_1-20004552 52DISTNAME= NWRFC_1-20004552
53.elif ${SAP_ARCH} == "i586" 53.elif ${SAP_ARCH} == "i586"
54DISTNAME= NWRFC_1-20004550 54DISTNAME= NWRFC_1-20004550
55.elif ${SAP_ARCH} == "ia64" 55.elif ${SAP_ARCH} == "ia64"
56DISTNAME= NWRFC_1-20004551 56DISTNAME= NWRFC_1-20004551
57.else 57.else
58BROKEN= Architecture ${MACHINE_ARCH} on platform ${OPSYS} not supported 58BROKEN= Architecture ${MACHINE_ARCH} on platform ${OPSYS} not supported
59.endif 59.endif
60.else 60.else
61BROKEN= Platform ${OPSYS} not supported 61BROKEN= Platform ${OPSYS} not supported
62.endif 62.endif
63 63
 64.if !exists(DOWNLOADED_DISTFILE) && make(pbulk-index)
 65PKG_FAIL_REASON+= "Missing distfile"
 66.endif
 67
64EXTRACT_CMD= SAPCAR -xvf ${DOWNLOADED_DISTFILE} 68EXTRACT_CMD= SAPCAR -xvf ${DOWNLOADED_DISTFILE}
65 69
66MAINTAINER= pkgsrc-users@NetBSD.org 70MAINTAINER= pkgsrc-users@NetBSD.org
67COMMENT= SAP NetWeaver RFC SDK 71COMMENT= SAP NetWeaver RFC SDK
68LICENSE= sap-license 72LICENSE= sap-license
69 73
70RESTRICTED= Only unmodified original package can be distributed 74RESTRICTED= Only unmodified original package can be distributed
71NO_BIN_ON_CDROM= ${RESTRICTED} 75NO_BIN_ON_CDROM= ${RESTRICTED}
72NO_BIN_ON_FTP= ${RESTRICTED} 76NO_BIN_ON_FTP= ${RESTRICTED}
73 77
74WRKSRC= ${WRKDIR}/nwrfcsdk 78WRKSRC= ${WRKDIR}/nwrfcsdk
75 79
76do-install: 80do-install: