summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-12-23 19:32:15 +0000
committerjlam <jlam@pkgsrc.org>2001-12-23 19:32:15 +0000
commit4fe22fcdd83729d678fdba9adb99877006cd303a (patch)
tree428baddeed94aad296743a7ddb2a442b38f5c91b /mk
parent8be72507152d695175e120ce106d7bc86abf615f (diff)
downloadpkgsrc-4fe22fcdd83729d678fdba9adb99877006cd303a.tar.gz
Make the AUTOMAKE_OVERRIDE work for packages that use automake-1.5 and/or
autoconf-2.5* by touching some more files. Thanks to YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp> for pointing out the error in private e-mail. Also list several packages on which to verify this code after making changes to the AUTOMAKE*_PATTERNS.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk19
1 files changed, 12 insertions, 7 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 77bb0cab1c6..c31430ee917 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.885 2001/12/22 05:45:23 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.886 2001/12/23 19:32:15 jlam Exp $
#
# This file is in the public domain.
#
@@ -1615,26 +1615,31 @@ do-ltconfig-override:
# * configure.in might be generated from configure.in.in,
# * aclocal.m4 is generated by aclocal from acinclude.m4 and
# configure.in,
-# * stamp-h.in is the automake timestamp file for config.h.in,
+# * stamp-h.in, stamp-h[0-9].in are the automake timestamp files
+# for config.h.in,
# * config.h.in is generated by autoheader from configure.in
-# * stamp-h is the automake timestamp file for config.h,
# * Makefile.in is generated from Makefile.am,
# * the configure script is generated by autoconf from configure.in,
# aclocal.m4, and various other *.m4 files.
#
# After configure script is run:
# * config.status is generated by the configure script,
-# * Makefile and stamp-h are generated by config.status.
+# * Makefile, stamp-h, stamp-h[0-9] are generated by config.status.
# * config.h are generated by config.status.
#
+# NOTE: If you change the patterns listed below, then it's recommended that
+# you verify that the changes are correct by trying to build the
+# following packages:
+#
+# sysutils/fileutils, www/curl, x11/lesstif, x11/kdelibs2
+#
AUTOMAKE_OVERRIDE?= YES
.if defined(AUTOMAKE_OVERRIDE) && (${AUTOMAKE_OVERRIDE} == "YES")
AUTOMAKE_PATTERNS+= configure.in
AUTOMAKE_PATTERNS+= aclocal.m4
-AUTOMAKE_PATTERNS+= stamp-h.in config.h.in stamp-h
+AUTOMAKE_PATTERNS+= stamp-h.in stamp-h[0-9].in config.h.in
AUTOMAKE_PATTERNS+= Makefile.in
AUTOMAKE_PATTERNS+= ${CONFIGURE_SCRIPT:T}
-AUTOMAKE_PATTERNS+= stamp-h.in config.h.in stamp-h
_AUTOMAKE_PATTERNS_FIND= \
\( ${AUTOMAKE_PATTERNS:S/$/!/:S/^/-o -name !/:S/!/"/g:S/-o//1} \)
@@ -1650,7 +1655,7 @@ automake-pre-override:
. endif
AUTOMAKE_POST_PATTERNS+= config.status
-AUTOMAKE_POST_PATTERNS+= Makefile stamp-h
+AUTOMAKE_POST_PATTERNS+= Makefile stamp-h stamp-h[0-9]
AUTOMAKE_POST_PATTERNS+= config.h
_AUTOMAKE_POST_PATTERNS_FIND= \
\( ${AUTOMAKE_POST_PATTERNS:S/$/!/:S/^/-o -name !/:S/!/"/g:S/-o//1} \)