summaryrefslogtreecommitdiff
path: root/mk/configure/bsd.configure.mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-03-07 01:27:27 +0000
committerrillig <rillig@pkgsrc.org>2007-03-07 01:27:27 +0000
commitdf8fff7998d86f2984c1771dae9bb28a969d35f4 (patch)
tree453d6e4f8a5be80469613b0f54f9185a4659f252 /mk/configure/bsd.configure.mk
parent64c66d1ff331da974a3d8c491e666da7dfd08b18 (diff)
downloadpkgsrc-df8fff7998d86f2984c1771dae9bb28a969d35f4.tar.gz
Renamed the configure-cookie target to _configure-cookie.
Diffstat (limited to 'mk/configure/bsd.configure.mk')
-rw-r--r--mk/configure/bsd.configure.mk19
1 files changed, 7 insertions, 12 deletions
diff --git a/mk/configure/bsd.configure.mk b/mk/configure/bsd.configure.mk
index 2a592bdea93..0a6f6604dbc 100644
--- a/mk/configure/bsd.configure.mk
+++ b/mk/configure/bsd.configure.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.configure.mk,v 1.9 2006/07/27 13:47:29 jlam Exp $
+# $NetBSD: bsd.configure.mk,v 1.10 2007/03/07 01:27:28 rillig Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and provides all
# variables and targets related to configuring packages for building.
@@ -27,19 +27,14 @@ _COOKIE.configure= ${WRKDIR}/.configure_done
configure:
@${DO_NADA}
. elif defined(_PKGSRC_BARRIER)
-configure: wrapper configure-cookie
+configure: wrapper _configure-cookie
. else
configure: barrier
. endif
.endif
-######################################################################
-### configure-cookie (PRIVATE)
-######################################################################
-### configure-cookie creates the "configure" cookie file.
-###
-.PHONY: configure-cookie
-configure-cookie:
- ${_PKG_SILENT}${_PKG_DEBUG}${TEST} ! -f ${_COOKIE.configure} || ${FALSE}
- ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${_COOKIE.configure:H}
- ${_PKG_SILENT}${_PKG_DEBUG}${ECHO} ${PKGNAME} > ${_COOKIE.configure}
+# Creates the "configure" cookie file.
+_configure-cookie: .PHONY
+ ${RUN} [ ! -f ${_COOKIE.configure} ] # XXX: What's the purpose of this assertion?
+ ${RUN} ${MKDIR} ${_COOKIE.configure:H}
+ ${RUN} ${ECHO} ${PKGNAME} > ${_COOKIE.configure}