sci-geosciences/gpsbabel: Fix Qt5's lrelease
authorJan Kundrát <jkt@gentoo.org>
Tue, 4 Jul 2017 23:21:41 +0000 (01:21 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 9 Jul 2017 19:11:51 +0000 (21:11 +0200)
My `lrelease` in the default $PATH is a wrapper provided by qtchooser.
It fails when invoked directly.

The ebuild was already half-correct because it used a full path to Qt5's
lrelease when configuring the build :).
Closes: https://github.com/gentoo/gentoo/pull/5043

sci-geosciences/gpsbabel/gpsbabel-1.5.4-r1.ebuild

index 2b4af46ab15c31113c8caa5b85af2f938e38c81e..23dd56b2ebfcb3e38ee98449efbc2a14e13d3cd1 100644 (file)
@@ -79,7 +79,7 @@ src_configure() {
 
        if use gui; then
                pushd "${S}/gui" > /dev/null || die
-               lrelease *.ts || die
+               $(qt5_get_bindir)/lrelease *.ts || die
                eqmake5
                popd > /dev/null
        fi