summaryrefslogtreecommitdiff
path: root/misc/staroffice
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-07-03 16:32:49 +0000
committeragc <agc@pkgsrc.org>2002-07-03 16:32:49 +0000
commit1422bde378d29b12a5a8a6fe568c86f91185b60b (patch)
tree941f59b4d266ef3974a29998b6c17e78af5bb44d /misc/staroffice
parent904ea3366f2d4c79ab398614c10c7a5524b3cb99 (diff)
downloadpkgsrc-1422bde378d29b12a5a8a6fe568c86f91185b60b.tar.gz
Since we override the normal do-fetch target, where the distfiles' presence
is checked when defined(${BATCH}), replicate same here.
Diffstat (limited to 'misc/staroffice')
-rw-r--r--misc/staroffice/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/misc/staroffice/Makefile b/misc/staroffice/Makefile
index b441f7bc7e6..9a2c8b754c6 100644
--- a/misc/staroffice/Makefile
+++ b/misc/staroffice/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2002/07/02 11:38:38 agc Exp $
+# $NetBSD: Makefile,v 1.25 2002/07/03 16:32:49 agc Exp $
DISTNAME= so51a_lnx_${LANGNO}
PKGNAME= staroffice-${LANGUAGE}-5.1a
@@ -71,8 +71,13 @@ LANGSUB= 51AA9999
PLIST_SUBST+= LANGNO=${LANGNO}
PLIST_SRC= ${WRKDIR}/PLIST
-do-fetch:
- @${MKDIR} ${WRKDIR}
+# Since we override the normal do-fetch target, where the distfiles' presence
+# is checked when defined(${BATCH}), replicate same here.
+do-fetch: ${WRKDIR}
+.if defined(BATCH)
+ ${_PKG_SILENT}${_PKG_DEBUG} \
+ ${MAKE} ${MAKEFLAGS} batch-check-distfiles
+.endif # BATCH
.for file in automate.sh send.agree send.conf send.ord send.resp \
send.submit sendreg.sh
@${CP} ${FILESDIR}/${file} ${WRKDIR}