Skip to content

Commit

Permalink
meson.eclass: remove unnecessary eapi checks
Browse files Browse the repository at this point in the history
This eclass dies for all eapis other than 6 or 7, so we don't need to
test for eapis other than 6 or 7 anywhere else in the eclass.

Signed-off-by: William Hubbs <[email protected]>
  • Loading branch information
williamh committed Feb 7, 2019
1 parent 275c322 commit ddd225e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eclass/meson.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ _MESON_ECLASS=1
MESON_DEPEND=">=dev-util/meson-0.45.1
>=dev-util/ninja-1.7.2"

if [[ ${EAPI:-0} == [0123456] ]]; then
if [[ ${EAPI:-0} == [6] ]]; then
DEPEND=${MESON_DEPEND}
else
BDEPEND=${MESON_DEPEND}
Expand Down

0 comments on commit ddd225e

Please sign in to comment.