pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/configure Renamed the configure-cookie target to _c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3da05fc889b2
branches: trunk
changeset: 526288:3da05fc889b2
user: rillig <rillig%pkgsrc.org@localhost>
date: Wed Mar 07 01:27:27 2007 +0000
description:
Renamed the configure-cookie target to _configure-cookie.
diffstat:
mk/configure/bsd.configure.mk | 19 +++++++------------
mk/configure/configure.mk | 4 ++--
2 files changed, 9 insertions(+), 14 deletions(-)
diffs (53 lines):
diff -r 2905cbbbc409 -r 3da05fc889b2 mk/configure/bsd.configure.mk
--- a/mk/configure/bsd.configure.mk Wed Mar 07 01:06:11 2007 +0000
+++ b/mk/configure/bsd.configure.mk Wed Mar 07 01:27:27 2007 +0000
@@ -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 @@
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}
diff -r 2905cbbbc409 -r 3da05fc889b2 mk/configure/configure.mk
--- a/mk/configure/configure.mk Wed Mar 07 01:06:11 2007 +0000
+++ b/mk/configure/configure.mk Wed Mar 07 01:27:27 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: configure.mk,v 1.14 2007/01/08 02:26:03 rillig Exp $
+# $NetBSD: configure.mk,v 1.15 2007/03/07 01:27:27 rillig Exp $
#
# CONFIGURE_SCRIPT is the path to the script to run in order to
# configure the software for building. If the path is relative,
@@ -105,7 +105,7 @@
_REAL_CONFIGURE_TARGETS+= do-configure
_REAL_CONFIGURE_TARGETS+= do-configure-post-hook
_REAL_CONFIGURE_TARGETS+= post-configure
-_REAL_CONFIGURE_TARGETS+= configure-cookie
+_REAL_CONFIGURE_TARGETS+= _configure-cookie
_REAL_CONFIGURE_TARGETS+= error-check
.PHONY: real-configure
Home |
Main Index |
Thread Index |
Old Index