From 49e3a1293d94820525a31d7fe155bba1447e1d36 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Mon, 6 Dec 2010 09:44:46 +0000 Subject: WRKBUILD might not be defined at modules stage --- share/man/man5/port-modules.5 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/man/man5') diff --git a/share/man/man5/port-modules.5 b/share/man/man5/port-modules.5 index d087a85b224..cb4d2b369a6 100644 --- a/share/man/man5/port-modules.5 +++ b/share/man/man5/port-modules.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: port-modules.5,v 1.84 2010/12/06 09:31:55 espie Exp $ +.\" $OpenBSD: port-modules.5,v 1.85 2010/12/06 09:44:45 espie Exp $ .\" .\" Copyright (c) 2008 Marc Espie .\" @@ -207,7 +207,7 @@ The proper way is to define a properly named cookie, and have the behavior attached to the cookie, then override the target only if it isn't already defined. .Bd -literal -offset indent -MODFOO_BUILD_COOKIE = ${WRKBUILD}/.modfoo_build_done +MODFOO_BUILD_COOKIE = ${WRKDIR}/.modfoo_build_done ${MODFOO_BUILD_COOKIE}: # whatever I want to do touch $@ -- cgit v1.2.3