packages: gdb/gdb.spec - fixed aclocal rebuilds (no more unexpanded ACX_* m...

qboosh qboosh at pld-linux.org
Sun Nov 13 21:08:07 CET 2011


Author: qboosh                       Date: Sun Nov 13 20:08:07 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed aclocal rebuilds (no more unexpanded ACX_* macros in final configure scripts)

---- Files affected:
packages/gdb:
   gdb.spec (1.142 -> 1.143) 

---- Diffs:

================================================================
Index: packages/gdb/gdb.spec
diff -u packages/gdb/gdb.spec:1.142 packages/gdb/gdb.spec:1.143
--- packages/gdb/gdb.spec:1.142	Sun Nov  6 11:53:07 2011
+++ packages/gdb/gdb.spec	Sun Nov 13 21:08:01 2011
@@ -433,12 +433,18 @@
 sed -i -e 's#_GCC_AUTOCONF_VERSION\], \[2\.64\]#_GCC_AUTOCONF_VERSION], [2.68]#g' config/override.m4
 
 %build
+# omit hand-written gdb/testsuite aclocal.m4
+for dir in gdb gdb/gdbserver ; do
+	olddir=$(pwd)
+	cd $dir
+	%{__rm} aclocal.m4
+	%{__aclocal} $(grep '^ACLOCAL_AMFLAGS' Makefile.in | sed -e 's/.*=//')
+	cd $olddir
+done
 for dir in $(find gdb -name 'configure.in' -o -name 'configure.ac'); do
 	dir=$(dirname "$dir")
 	olddir=$(pwd)
 	cd $dir
-	rm -f aclocal.m4
-	%{__aclocal} `[ -d config ] && echo "-I config"` `[ -d m4 ] && echo "-I m4"` `[ -d gnulib/m4 ] && echo "-I gnulib/m4"`
 	%{__autoconf}
 	grep -q AC_CONFIG_HEADER configure.* && %{__autoheader}
 	cd $olddir
@@ -567,6 +573,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.143  2011/11/13 20:08:01  qboosh
+- fixed aclocal rebuilds (no more unexpanded ACX_* macros in final configure scripts)
+
 Revision 1.142  2011/11/06 10:53:07  arekm
 - up to 7.3.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb.spec?r1=1.142&r2=1.143&f=u



More information about the pld-cvs-commit mailing list