commit:     c337a21c46bcf100bcec37876aff54d3663c2236
Author:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  1 13:36:03 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Mar  2 01:05:59 2017 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=c337a21c

dev-qt/qtdbus: Adjust the awful hack to make 'qtdbus' build.

For the live-builds, the files we want to remove will be under the
build directory, not the source directory.  Without this change, the
files are not found.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-qt/qtdbus/qtdbus-5.8.9999.ebuild | 2 +-
 dev-qt/qtdbus/qtdbus-5.9999.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-qt/qtdbus/qtdbus-5.8.9999.ebuild 
b/dev-qt/qtdbus/qtdbus-5.8.9999.ebuild
index a740975e..d99d8d4e 100644
--- a/dev-qt/qtdbus/qtdbus-5.8.9999.ebuild
+++ b/dev-qt/qtdbus/qtdbus-5.8.9999.ebuild
@@ -53,7 +53,7 @@ src_compile() {
        hack() {
                emake
                if [[ ${subdir} = "src/corelib" ]]; then
-                       rm "${S}"/lib/libQt5Core* || die
+                       rm "${QT5_BUILD_DIR}"/lib/libQt5Core* || die
                fi
        }
        qt5_foreach_target_subdir hack

diff --git a/dev-qt/qtdbus/qtdbus-5.9999.ebuild 
b/dev-qt/qtdbus/qtdbus-5.9999.ebuild
index a740975e..d99d8d4e 100644
--- a/dev-qt/qtdbus/qtdbus-5.9999.ebuild
+++ b/dev-qt/qtdbus/qtdbus-5.9999.ebuild
@@ -53,7 +53,7 @@ src_compile() {
        hack() {
                emake
                if [[ ${subdir} = "src/corelib" ]]; then
-                       rm "${S}"/lib/libQt5Core* || die
+                       rm "${QT5_BUILD_DIR}"/lib/libQt5Core* || die
                fi
        }
        qt5_foreach_target_subdir hack

Reply via email to