summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-06-27 11:44:22 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-06-27 11:44:22 +0000
commit3faacbcda39fd837e323c5cce020f5feefefa08a (patch)
tree9261ffb88953823509aee277287d7b73465647f0 /eclass
parent* installs meta by default (diff)
downloadgentoo-2-3faacbcda39fd837e323c5cce020f5feefefa08a.tar.gz
gentoo-2-3faacbcda39fd837e323c5cce020f5feefefa08a.tar.bz2
gentoo-2-3faacbcda39fd837e323c5cce020f5feefefa08a.zip
Tweak the cvs.sh script so that it accepts autoconf 2.60.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde.eclass9
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