summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-02-17 13:00:43 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-02-17 13:00:43 +0000
commit97fddc449eca64b30e37f285df798b24caf07c19 (patch)
treeacdf9a7ffa3bc2f7664b2dd9abeb99741ebac13a
parent6766fe838a8cc3acfef5b031d099cc884aa51a8b (diff)
Fix checksum logic: in a manual sequence of
make extract; make patch; make configure; make; the checksum will only be checked ONCE (before extract), and not every step of the way...
-rw-r--r--share/mk/bsd.port.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk
index 28834272752..a4f5451ddd3 100644
--- a/share/mk/bsd.port.mk
+++ b/share/mk/bsd.port.mk
@@ -1,6 +1,6 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4
-# $OpenBSD: bsd.port.mk,v 1.60 1999/02/03 17:53:13 rohee Exp $
+# $OpenBSD: bsd.port.mk,v 1.61 1999/02/17 13:00:42 espie Exp $
#
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
@@ -28,7 +28,7 @@ OpenBSD_MAINTAINER= marc@OpenBSD.ORG
# NEED_VERSION: we need at least this version of bsd.port.mk for this
# port to build
-FULL_REVISION=$$OpenBSD: bsd.port.mk,v 1.60 1999/02/03 17:53:13 rohee Exp $$
+FULL_REVISION=$$OpenBSD: bsd.port.mk,v 1.61 1999/02/17 13:00:42 espie Exp $$
.if defined(NEED_VERSION)
VERSION_REVISION=${FULL_REVISION:M[0-9]*.*}
@@ -1044,7 +1044,7 @@ checksum: fetch
# Disable extract
.if defined(NO_EXTRACT) && !target(extract)
-extract: checksum
+extract:
@${TOUCH} ${TOUCH_FLAGS} ${EXTRACT_COOKIE}
checksum: fetch
@${DO_NADA}
@@ -1443,7 +1443,7 @@ fetch:
.endif
.if !target(extract)
-extract: checksum ${EXTRACT_COOKIE}
+extract: ${EXTRACT_COOKIE}
.endif
.if !target(patch)
@@ -1466,8 +1466,8 @@ install: build ${INSTALL_COOKIE}
package: install ${PACKAGE_COOKIE}
.endif
-${EXTRACT_COOKIE}:
- @cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} real-extract
+${EXTRACT_COOKIE}:
+ @cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} checksum real-extract
${PATCH_COOKIE}:
@cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} real-patch
${CONFIGURE_COOKIE}: