pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Defer creating the auto* stubs until just before we...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b62858cfb531
branches:  trunk
changeset: 468171:b62858cfb531
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Feb 11 01:07:37 2004 +0000

description:
Defer creating the auto* stubs until just before we enter the build phase.
This allows any autoconf/automake we execute at pre-configure time to find
its own scripts, yet still prevents "make build" from clobbering any
changes we may have made.

diffstat:

 mk/tools.mk |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 4ce446c70c35 -r b62858cfb531 mk/tools.mk
--- a/mk/tools.mk       Wed Feb 11 01:04:37 2004 +0000
+++ b/mk/tools.mk       Wed Feb 11 01:07:37 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.mk,v 1.25 2004/02/06 04:37:02 jlam Exp $
+# $NetBSD: tools.mk,v 1.26 2004/02/11 01:07:37 jlam Exp $
 #
 # This Makefile creates a ${TOOLS_DIR} directory and populates the bin
 # subdir with tools that hide the ones outside of ${TOOLS_DIR}.
@@ -53,9 +53,11 @@
                                        bin/automake-1.8
 
 .if empty(AUTOMAKE_OVERRIDE:M[nN][oO])
+.PHONY: pre-build override-autotools
+pre-build: override-autotools
 .  for _autotool_ in autoconf automake
 .    for _prog_ in ${_HIDE_PROGS.${_autotool_}}
-override-tools: ${TOOLS_DIR}/${_prog_}
+override-autotools: ${TOOLS_DIR}/${_prog_}
 ${TOOLS_DIR}/${_prog_}: ${_GNU_MISSING}
        ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${.TARGET:H}
        ${_PKG_SILENT}${_PKG_DEBUG}                                     \



Home | Main Index | Thread Index | Old Index