From 842431817c5186ab6f33f2a0cc02b4d5068bdf58 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Tue, 27 Jun 2006 11:44:22 +0000 Subject: Tweak the cvs.sh script so that it accepts autoconf 2.60. --- eclass/kde.eclass | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'eclass/kde.eclass') 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 # @@ -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 -- cgit v1.2.3-65-gdbad