commit:     ec6722593c8d04bfdf0d314dd846446bb8b34e64
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  4 23:15:50 2014 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Mon Aug  4 23:15:50 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=ec672259

[dev-qt/qtwayland:5] Use qt_use_compile_test.

Package-Manager: portage-2.2.11

---
 dev-qt/qtwayland/qtwayland-5.3.9999.ebuild | 4 +---
 dev-qt/qtwayland/qtwayland-5.9999.ebuild   | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/dev-qt/qtwayland/qtwayland-5.3.9999.ebuild 
b/dev-qt/qtwayland/qtwayland-5.3.9999.ebuild
index aa5a415..3aa78ca 100644
--- a/dev-qt/qtwayland/qtwayland-5.3.9999.ebuild
+++ b/dev-qt/qtwayland/qtwayland-5.3.9999.ebuild
@@ -36,9 +36,7 @@ src_configure() {
                echo "CONFIG += wayland-compositor" >> 
"${QT5_BUILD_DIR}"/.qmake.cache
        fi
 
-       if ! use xcomposite; then
-               echo "CONFIG += done_config_xcomposite" >> 
"${QT5_BUILD_DIR}"/.qmake.cache
-       fi
+       qt_use_compile_test xcomposite
 
        qt5-build_src_configure
 }

diff --git a/dev-qt/qtwayland/qtwayland-5.9999.ebuild 
b/dev-qt/qtwayland/qtwayland-5.9999.ebuild
index aa5a415..3aa78ca 100644
--- a/dev-qt/qtwayland/qtwayland-5.9999.ebuild
+++ b/dev-qt/qtwayland/qtwayland-5.9999.ebuild
@@ -36,9 +36,7 @@ src_configure() {
                echo "CONFIG += wayland-compositor" >> 
"${QT5_BUILD_DIR}"/.qmake.cache
        fi
 
-       if ! use xcomposite; then
-               echo "CONFIG += done_config_xcomposite" >> 
"${QT5_BUILD_DIR}"/.qmake.cache
-       fi
+       qt_use_compile_test xcomposite
 
        qt5-build_src_configure
 }

Reply via email to