app-office/scribus: fix has_version syntax
authorZac Medico <zmedico@gentoo.org>
Wed, 8 May 2019 17:19:48 +0000 (10:19 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 8 May 2019 17:19:48 +0000 (10:19 -0700)
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Zac Medico <zmedico@gentoo.org>
app-office/scribus/scribus-1.5.5_pre20190429.ebuild

index a889616acc01456afef9ffdccfa3ac11085f234e..d279c0812655a2e4ef32843cf87704dac5cd5979 100644 (file)
@@ -122,7 +122,7 @@ src_prepare() {
                -e "/^add_subdirectory(ui\/qml)/s/^/#DONT/" \
                -i scribus/CMakeLists.txt || die # nothing but a bogus Hello World test
 
-       has_version ">=app-text/poppler-0.76.0" PATCHES+=( "${FILESDIR}"/${P}-poppler-0.76.patch )
+       has_version ">=app-text/poppler-0.76.0" && PATCHES+=( "${FILESDIR}"/${P}-poppler-0.76.patch )
 
        cmake-utils_src_prepare
 }