From ce2d5a336948f133ce4115e32ccf960ac0ee85df Mon Sep 17 00:00:00 2001 From: espie Date: Tue, 19 Sep 2006 11:25:17 +0000 Subject: [PATCH] fix update: now that we no longer recurse at the cookie level, we have to recurse higher. --- infrastructure/mk/bsd.port.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/infrastructure/mk/bsd.port.mk b/infrastructure/mk/bsd.port.mk index 5a013639b6e..ab0077f675f 100644 --- a/infrastructure/mk/bsd.port.mk +++ b/infrastructure/mk/bsd.port.mk @@ -1,6 +1,6 @@ #-*- mode: Makefile; tab-width: 4; -*- # ex:ts=4 sw=4 filetype=make: -# $OpenBSD: bsd.port.mk,v 1.767 2006/09/18 18:17:30 espie Exp $ +# $OpenBSD: bsd.port.mk,v 1.768 2006/09/19 11:25:17 espie Exp $ # $FreeBSD: bsd.port.mk,v 1.264 1996/12/25 02:27:44 imp Exp $ # $NetBSD: bsd.port.mk,v 1.62 1998/04/09 12:47:02 hubertf Exp $ # @@ -2080,7 +2080,8 @@ ${_INSTALL_COOKIE}: ${_PACKAGE_COOKIES} @-${SUDO} ${_MAKE_COOKIE} $@ .endif -${_UPDATE_COOKIE}: ${_PACKAGE_COOKIES} +${_UPDATE_COOKIE}: + @cd ${.CURDIR} && SUBPACKAGE=${SUBPACKAGE} PACKAGING='${SUBPACKAGE}' exec ${MAKE} _internal-subpackage .if empty(UPDATE_COOKIES_DIR) @exec ${MAKE} ${WRKDIR} .else