summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-09-15 06:28:52 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-09-15 06:45:17 +1000
commit450fa6ae2e505c86840ba8c375434e55982f7bf3 (patch)
tree70ec6c1918847aa66c99331534d69c2c60451a36 /sci-visualization
parentsci-visualization/kst: avoid REQUIRED_USE for Qt version selection (diff)
downloadgentoo-450fa6ae2e505c86840ba8c375434e55982f7bf3.tar.gz
gentoo-450fa6ae2e505c86840ba8c375434e55982f7bf3.tar.bz2
gentoo-450fa6ae2e505c86840ba8c375434e55982f7bf3.zip
sci-visualization/kst: ensure the correct version of lconvert is used
Package-Manager: portage-2.3.0
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/kst/kst-2.0.8.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sci-visualization/kst/kst-2.0.8.ebuild b/sci-visualization/kst/kst-2.0.8.ebuild
index 4b0c98e7d336..5d2eafa906da 100644
--- a/sci-visualization/kst/kst-2.0.8.ebuild
+++ b/sci-visualization/kst/kst-2.0.8.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit cmake-utils multilib
+inherit cmake-utils multilib qmake-utils
MY_P=Kst-${PV}
@@ -64,5 +64,8 @@ src_configure() {
$(cmake-utils_use test kst_test)
$(cmake-utils_use qt5 kst_qt5)
)
+
+ use !qt5 && mycmakeargs+=( -DQT_LCONVERT_EXECUTABLE="$(qt4_get_bindir)/lconvert" )
+
cmake-utils_src_configure
}