media-libs/qimageblitz: Use system Qt4 cmake find module
authorJohannes Huber <johu@gentoo.org>
Mon, 2 May 2016 09:07:50 +0000 (11:07 +0200)
committerJohannes Huber <johu@gentoo.org>
Mon, 2 May 2016 09:08:02 +0000 (11:08 +0200)
Gentoo-bug: 581824

Package-Manager: portage-2.2.28

media-libs/qimageblitz/qimageblitz-0.0.6-r2.ebuild

index c57aa1c4b62cd3c08871e4a1f45210f035e90a4c..673e4b3c703bbf6fb6e71ddde66f04112cf6c5c2 100644 (file)
@@ -27,6 +27,13 @@ PATCHES=(
        "${FILESDIR}/${P}-cmake.patch"
 )
 
+src_prepare() {
+       cmake-utils_src_prepare
+
+       # bug 581824: use system find module for Qt4
+       rm -f cmake/modules/FindQt4.cmake || die
+}
+
 src_configure() {
        local mycmakeargs=(
                -DHAVE_ALTIVEC=$(usex altivec)