summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2004-02-17 12:09:16 +0000
committerjlam <jlam>2004-02-17 12:09:16 +0000
commite747ccde532a963ab8fe3f75c9636c0f25e130d0 (patch)
tree6eb3aa87c20687e3b1d06eead7cf0335b429d3ec /mk
parente24680e59109b3197f8dee82fa2609e4983e62fc (diff)
downloadpkgsrc-e747ccde532a963ab8fe3f75c9636c0f25e130d0.tar.gz
Move up the creation of the auto* stubs to just before the do-configure
target. This still allows any autoconf/automake we execute at pre-configure time to find its own scripts, but forces the configure script find our stubs instead. This should prevent the need to constantly override the missing script using GNU_MISSING_OVERRIDE.
Diffstat (limited to 'mk')
-rw-r--r--mk/tools.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/tools.mk b/mk/tools.mk
index 95f337fcd9a..d74cb485420 100644
--- a/mk/tools.mk
+++ b/mk/tools.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.mk,v 1.26 2004/02/11 01:07:37 jlam Exp $
+# $NetBSD: tools.mk,v 1.27 2004/02/17 12:09:16 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,8 +53,8 @@ _HIDE_PROGS.automake= bin/aclocal bin/aclocal-1.4 \
bin/automake-1.8
.if empty(AUTOMAKE_OVERRIDE:M[nN][oO])
-.PHONY: pre-build override-autotools
-pre-build: override-autotools
+_CONFIGURE_PREREQ+= override-autotools
+.PHONY: override-autotools
. for _autotool_ in autoconf automake
. for _prog_ in ${_HIDE_PROGS.${_autotool_}}
override-autotools: ${TOOLS_DIR}/${_prog_}