summaryrefslogtreecommitdiff
path: root/parallel
diff options
context:
space:
mode:
authoragc <agc>2002-07-17 13:17:21 +0000
committeragc <agc>2002-07-17 13:17:21 +0000
commit3d5ac928728b57ae750d280e18b3013e010455ad (patch)
treeb497feeaa8b8295a7f76d12b1d966e7a01277470 /parallel
parentc4992d115f8e3d60a4dca44a7ef0ce3373ab9be1 (diff)
downloadpkgsrc-3d5ac928728b57ae750d280e18b3013e010455ad.tar.gz
Make sure that we check whether we check whether the distfiles exist
first in BATCH mode.
Diffstat (limited to 'parallel')
-rw-r--r--parallel/glunix/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/parallel/glunix/Makefile b/parallel/glunix/Makefile
index 411b0508d31..aabad41e8aa 100644
--- a/parallel/glunix/Makefile
+++ b/parallel/glunix/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2002/07/02 11:39:46 agc Exp $
+# $NetBSD: Makefile,v 1.24 2002/07/17 13:17:21 agc Exp $
DISTNAME= glunix-release-1-0a
PKGNAME= glunix-1.0a
@@ -46,7 +46,11 @@ USER_CMD= ${LOCALBASE}/sbin/user
GROUP_CMD= ${LOCALBASE}/sbin/group
.endif
-pre-fetch:
+.if defined(BATCH)
+BATCH_CHECK_DISTFILES= batch-check-distfiles
+.endif
+
+pre-fetch: ${BATCH_CHECK_DISTFILES}
cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/pre-fetch
post-patch: