diff options
author | 2006-06-27 11:44:22 +0000 | |
---|---|---|
committer | 2006-06-27 11:44:22 +0000 | |
commit | 842431817c5186ab6f33f2a0cc02b4d5068bdf58 (patch) | |
tree | 4b112c266235445cbfc6cf0788964e2fd3e8eedf /eclass/kde.eclass | |
parent | * installs meta by default (diff) | |
download | historical-842431817c5186ab6f33f2a0cc02b4d5068bdf58.tar.gz historical-842431817c5186ab6f33f2a0cc02b4d5068bdf58.tar.bz2 historical-842431817c5186ab6f33f2a0cc02b4d5068bdf58.zip |
Tweak the cvs.sh script so that it accepts autoconf 2.60.
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r-- | eclass/kde.eclass | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass index 54858e880bfb..fd183ea27327 100644 --- a/eclass/kde.eclass +++ b/eclass/kde.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.170 2006/06/27 11:00:06 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.171 2006/06/27 11:44:22 flameeyes Exp $ # # Author Dan Armak <danarmak@gentoo.org> # @@ -215,6 +215,13 @@ kde_src_compile() { debug-print-section configure debug-print "$FUNCNAME::configure: myconf=$myconf" + # This is needed to fix building with autoconf 2.60. + # Many thanks to who preferred such a stupid check rather + # than a working arithmetic comparison. + [[ -f admin/cvs.sh ]] && + sed -i -e '/case $AUTO\(CONF\|HEADER\)_VERSION in/,+1 s/2\.5/2.[56]/g' \ + admin/cvs.sh + # rebuild configure script, etc # This can happen with e.g. a cvs snapshot if [ ! -f "./configure" ] || [ -n "$UNSERMAKE" ]; then |