aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-03-27 04:26:44 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-03-27 04:26:44 +0000
commit3c634c13039fc6257a10c26a45f8330a03345ba0 (patch)
treea490f3ec96226986a26b82c232b02fec6d39cfbc /Mk
parent1f03f375ce768a93cff6678a7d46591bad44031c (diff)
downloadports-3c634c13039fc6257a10c26a45f8330a03345ba0.tar.gz
ports-3c634c13039fc6257a10c26a45f8330a03345ba0.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 097268b687ec..61a2db8ee93d 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -2526,8 +2526,12 @@ ${target}:
${${target:U}_COOKIE}: ${_${target:U}_SEQ}
@${TOUCH} ${TOUCH_FLAGS} ${.TARGET}
.else
-${${target:U}_COOKIE}:
- ${DO_NADA}
+${${target:U}_COOKIE}::
+ @if [ -e ${.TARGET} ]; then \
+ ${DO_NADA}; \
+ else \
+ cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} ${.TARGET}; \
+ fi
.endif
.endfor