summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <jcallen@gentoo.org>2009-10-15 22:18:17 +0000
committerJonathan Callen <jcallen@gentoo.org>2009-10-15 22:18:17 +0000
commit17ba5380ee360815ea9a0bf9ca126ee3daa9646f (patch)
treea62e8f5c7ebed19e239334e6bbd7f1dc99b79cda /eclass/kde-meta.eclass
parentclean up (diff)
downloadhistorical-17ba5380ee360815ea9a0bf9ca126ee3daa9646f.tar.gz
historical-17ba5380ee360815ea9a0bf9ca126ee3daa9646f.tar.bz2
historical-17ba5380ee360815ea9a0bf9ca126ee3daa9646f.zip
Fix kde-meta.eclass to work with EAPI-2
Diffstat (limited to 'eclass/kde-meta.eclass')
-rw-r--r--eclass/kde-meta.eclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/kde-meta.eclass b/eclass/kde-meta.eclass
index 7bb99553fd70..93112b9e88b6 100644
--- a/eclass/kde-meta.eclass
+++ b/eclass/kde-meta.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde-meta.eclass,v 1.90 2009/05/12 12:55:46 tampakrap Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-meta.eclass,v 1.91 2009/10/15 22:18:17 abcd Exp $
# @ECLASS: kde-meta.eclass
# @MAINTAINER:
@@ -398,6 +398,12 @@ kde-meta_src_configure() {
# make sure games are not installed with setgid bit, as it is a security risk.
myconf="$myconf --disable-setgid"
fi
+
+ # Make sure kde_src_configure is run in EAPI >= 2
+ case ${EAPI:-0} in
+ 0|1) ;;
+ *) kde_src_configure ;;
+ esac
}
# @FUNCTION: kde-meta_src_compile