summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2010-12-06 09:44:45 +0000
committerespie <espie@openbsd.org>2010-12-06 09:44:45 +0000
commit2ccff2924e9644512183a29cade0f70050cbaab5 (patch)
treedcb5383687524afc9e4fb33d9c1990a9b916e7ea
parentcreating the cookie always works better (diff)
downloadwireguard-openbsd-2ccff2924e9644512183a29cade0f70050cbaab5.tar.xz
wireguard-openbsd-2ccff2924e9644512183a29cade0f70050cbaab5.zip
WRKBUILD might not be defined at modules stage
-rw-r--r--share/man/man5/port-modules.54
1 files changed, 2 insertions, 2 deletions
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 $@