From 97fddc449eca64b30e37f285df798b24caf07c19 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Wed, 17 Feb 1999 13:00:43 +0000 Subject: 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... --- share/mk/bsd.port.mk | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'share/mk/bsd.port.mk') 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}: -- cgit v1.2.3