SPECS: maildrop.spec - better way for doing autofoo stuff in subdirs (from ...
hawk
hawk at pld-linux.org
Sun Mar 15 23:52:20 CET 2009
Author: hawk Date: Sun Mar 15 22:52:20 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- better way for doing autofoo stuff in subdirs (from courier.spec)
---- Files affected:
SPECS:
maildrop.spec (1.56 -> 1.57)
---- Diffs:
================================================================
Index: SPECS/maildrop.spec
diff -u SPECS/maildrop.spec:1.56 SPECS/maildrop.spec:1.57
--- SPECS/maildrop.spec:1.56 Sun Mar 15 23:44:47 2009
+++ SPECS/maildrop.spec Sun Mar 15 23:52:15 2009
@@ -109,6 +109,25 @@
%{__automake}
cd -
done
+# Change Makefile.am files and force recreate Makefile.in's.
+OLDDIR=`pwd`
+find -type f -a \( -name configure.in -o -name configure.ac \) | while read FILE; do
+ cd "`dirname "$FILE"`"
+
+ if [ -f Makefile.am ]; then
+ sed -i -e '/_[L]DFLAGS=-static/d' Makefile.am
+ fi
+
+ %{__libtoolize}
+ %{__aclocal}
+ %{__autoconf}
+ if grep -q AC_CONFIG_HEADER configure.in; then
+ %{__autoheader}
+ fi
+ %{__automake}
+
+ cd "$OLDDIR"
+done
%configure \
--with-db=db \
@@ -221,6 +240,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.57 2009/03/15 22:52:15 hawk
+- better way for doing autofoo stuff in subdirs (from courier.spec)
+
Revision 1.56 2009/03/15 22:44:47 hawk
- release 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/maildrop.spec?r1=1.56&r2=1.57&f=u
More information about the pld-cvs-commit
mailing list