From b134eb5899d94ab676064c4ac9dcbd7f2fed7170 Mon Sep 17 00:00:00 2001 From: Paul de Vrieze Date: Tue, 29 Jul 2003 10:39:02 +0000 Subject: autotools fixes, and added a function to make them be detected in a way that we can work with --- eclass/kde-functions.eclass | 34 ++++++++++++++++++++++++++++++++-- eclass/kde.eclass | 4 ++-- 2 files changed, 34 insertions(+), 4 deletions(-) (limited to 'eclass') diff --git a/eclass/kde-functions.eclass b/eclass/kde-functions.eclass index 022a159aa2e5..f028f9a9bcf4 100644 --- a/eclass/kde-functions.eclass +++ b/eclass/kde-functions.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.59 2003/07/01 11:51:43 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.60 2003/07/29 10:39:02 pauldv Exp $ # # Author Dan Armak # @@ -63,6 +63,10 @@ need-kde() { need-autoconf 2.1 need-automake 1.4 ;; + 3.1.[23]) # Newer 3.1.x versions are built with automake 1.7, and have errors when using 1.6 + need-automake 1.7 + need-autoconf 2.5 + ;; 3.1*) # actually, newer 3.0.x stuff uses this too, but i want to make a clean switch need-automake 1.6 need-autoconf 2.5 @@ -73,7 +77,7 @@ need-kde() { ;; 5*) need-autoconf 2.5 - need-automake 1.6 + need-automake 1.7 ;; esac @@ -90,6 +94,10 @@ need-kde() { # maybe i should look at relocating it... if [ "$PV" == "3.0.3" ]; then newdepend "=kde-base/kdelibs-3.0.3*" + elif [ "$PV" == "3.1.3" ]; then + newdepend "=kde-base/kdelibs-3.1.3*" + elif [ "$PV" == "3.1.2" ]; then + newdepend "=kde-base/kdelibs-3.1.2*" elif [ "$PV" == "3.1.1" ]; then newdepend "=kde-base/kdelibs-3.1.1*" elif [ "$PV" == "2.2.2" ]; then @@ -306,6 +314,28 @@ min-kde-ver() { } +# This function should fix the broken automake detection in the detect-autoconf file +kde_fix_autodetect() { + cd ${S}/admin + patch -p0 < # @@ -15,7 +15,7 @@ HOMEPAGE="http://www.kde.org/" # deps on the build tools if [ -n "$KDEBASE" -a -n "`use ppc`" -a "${PV//3.1}" != "$PV" ]; then - DEPEND="$DEPEND >=sys-devel/automake-1.6.3" + DEPEND="$DEPEND >=sys-devel/automake-1.7.0" else DEPEND="$DEPEND sys-devel/automake" fi -- cgit v1.2.3-65-gdbad