summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2021-07-09 04:00:05 +0200
committerDavide Pesavento <pesa@gentoo.org>2021-07-09 04:01:23 +0200
commite4b0c36e0925e5f5f53fe889bc260c0548fe43c1 (patch)
treee73424fd3c81c3d58c4942d212f44ccfa9f7e2c0 /eclass/qt5-build.eclass
parentprofiles/features/uclibc: unmask opentmpfiles, mask systemd's (diff)
downloadgentoo-e4b0c36e0925e5f5f53fe889bc260c0548fe43c1.tar.gz
gentoo-e4b0c36e0925e5f5f53fe889bc260c0548fe43c1.tar.bz2
gentoo-e4b0c36e0925e5f5f53fe889bc260c0548fe43c1.zip
qt5-build.eclass: standardize "EAPI not supported" message
Signed-off-by: Davide Pesavento <pesa@gentoo.org>
Diffstat (limited to 'eclass/qt5-build.eclass')
-rw-r--r--eclass/qt5-build.eclass7
1 files changed, 3 insertions, 4 deletions
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index e94f3f33a101..bc5928d33140 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -10,15 +10,14 @@
# @BLURB: Eclass for Qt5 split ebuilds.
# @DESCRIPTION:
# This eclass contains various functions that are used when building Qt5.
-# Requires EAPI 7.
if [[ ${CATEGORY} != dev-qt ]]; then
- die "qt5-build.eclass is only to be used for building Qt 5"
+ die "${ECLASS} is only to be used for building Qt 5"
fi
case ${EAPI} in
- 7) : ;;
- *) die "qt5-build.eclass: unsupported EAPI=${EAPI:-0}" ;;
+ 7) ;;
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
# @ECLASS-VARIABLE: QT5_MODULE