diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-01-15 05:28:06 +1100 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2016-02-02 19:35:01 +0100 |
commit | 9fede9308d704a29a3a04bfd78159fbf0fac3af2 (patch) | |
tree | f6922e2b6b6d9f45d0b00c87a4b2f0e3d88b3167 /eclass/qt5-build.eclass | |
parent | qt5-build.eclass: move some things around (diff) | |
download | gentoo-9fede9308d704a29a3a04bfd78159fbf0fac3af2.tar.gz gentoo-9fede9308d704a29a3a04bfd78159fbf0fac3af2.tar.bz2 gentoo-9fede9308d704a29a3a04bfd78159fbf0fac3af2.zip |
qt5-build.eclass: stop the eclass from being used accidentally
(cherry picked from proj/qt commit 8aae5020b96f9e252e9f3a562c89551493877bba)
Diffstat (limited to 'eclass/qt5-build.eclass')
-rw-r--r-- | eclass/qt5-build.eclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index dc9e19ac0dc2..db08161cc87d 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -12,6 +12,10 @@ # This eclass contains various functions that are used when building Qt5. # Requires EAPI 5 or 6. +if [[ ${CATEGORY} != dev-qt ]]; then + die "qt5-build.eclass is only to be used for building Qt 5." +fi + case ${EAPI} in 5|6) : ;; *) die "qt5-build.eclass: unsupported EAPI=${EAPI:-0}" ;; |