diff --git a/x11-themes/qtcurve/qtcurve-1.9.0_p20210412.ebuild b/x11-themes/qtcurve/qtcurve-1.9.0_p20210412.ebuild index f36d3ed37985c..4b85cc310ca38 100644 --- a/x11-themes/qtcurve/qtcurve-1.9.0_p20210412.ebuild +++ b/x11-themes/qtcurve/qtcurve-1.9.0_p20210412.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -71,8 +71,8 @@ src_configure() { -DBUILD_TESTING="$(usex test)" -DQTC_ENABLE_X11="$(usex X)" -DQTC_INSTALL_PO="$(usex nls)" - -DQTC_QT5_ENABLE_KDE="$(usex plasma)" ) + use qt5 && mycmakeargs+=( -DQTC_QT5_ENABLE_KDE="$(usex plasma)" ) cmake_src_configure } diff --git a/x11-themes/qtcurve/qtcurve-9999.ebuild b/x11-themes/qtcurve/qtcurve-9999.ebuild index 0d206bafd6957..805ba185c700f 100644 --- a/x11-themes/qtcurve/qtcurve-9999.ebuild +++ b/x11-themes/qtcurve/qtcurve-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -75,8 +75,8 @@ src_configure() { -DBUILD_TESTING="$(usex test)" -DQTC_ENABLE_X11="$(usex X)" -DQTC_INSTALL_PO="$(usex nls)" - -DQTC_QT5_ENABLE_KDE="$(usex plasma)" ) + use qt5 && mycmakeargs+=( -DQTC_QT5_ENABLE_KDE="$(usex plasma)" ) cmake_src_configure }