summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2012-01-31 23:02:00 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2012-01-31 23:02:00 +0000
commit85095f0ae47e55258839136cadc6ddde42eba8a0 (patch)
tree3e78046942cf3436531216fc7d60f9509f577868 /eclass/qt4-build.eclass
parentFix bug #401423 and removed older ~arch (diff)
downloadgentoo-2-85095f0ae47e55258839136cadc6ddde42eba8a0.tar.gz
gentoo-2-85095f0ae47e55258839136cadc6ddde42eba8a0.tar.bz2
gentoo-2-85095f0ae47e55258839136cadc6ddde42eba8a0.zip
Initial EAPI4 support in qt4-build eclass
Diffstat (limited to 'eclass/qt4-build.eclass')
-rw-r--r--eclass/qt4-build.eclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass
index c3dd7f4b8632..763a0c503a0e 100644
--- a/eclass/qt4-build.eclass
+++ b/eclass/qt4-build.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.115 2012/01/01 19:01:11 pesa Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.116 2012/01/31 23:02:00 hwoarang Exp $
# @ECLASS: qt4-build.eclass
# @MAINTAINER:
@@ -111,11 +111,11 @@ qt4-build_pkg_setup() {
fi
# Make sure ebuilds use the required EAPI
- if [[ ${EAPI} != [23] ]]; then
- eerror "The qt4-build eclass requires EAPI=2 or EAPI=3, but this ebuild is using"
+ if [[ ${EAPI} != [234] ]]; then
+ eerror "The qt4-build eclass requires EAPI 2,3 or 4 but this ebuild is using"
eerror "EAPI=${EAPI:-0}. The ebuild author or editor failed. This ebuild needs to be"
- eerror "fixed. Using qt4-build eclass without EAPI=2 or EAPI=3 will fail."
- die "qt4-build eclass requires EAPI=2 or EAPI=3"
+ eerror "fixed. Using qt4-build eclass without EAPI 2,3 or 4 will fail."
+ die "qt4-build eclass requires EAPI 2,3 or 4"
fi
if ! version_is_at_least 4.1 $(gcc-version); then