commit:     df9add78592074a5cd727447cff7cbb7e57b4de1
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 30 20:22:57 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jun 30 20:47:32 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df9add78

app-text/poppler: Fix cmake warning

Closes: https://bugs.gentoo.org/659146
Package-Manager: Portage-2.3.41, Repoman-2.3.9

 app-text/poppler/poppler-0.66.0.ebuild | 2 +-
 app-text/poppler/poppler-9999.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-text/poppler/poppler-0.66.0.ebuild 
b/app-text/poppler/poppler-0.66.0.ebuild
index 5d2ce10f935..893cc9f7e68 100644
--- a/app-text/poppler/poppler-0.66.0.ebuild
+++ b/app-text/poppler/poppler-0.66.0.ebuild
@@ -99,7 +99,6 @@ src_configure() {
                -DWITH_Cairo=$(usex cairo)
                -DENABLE_LIBCURL=$(usex curl)
                -DENABLE_CPP=$(usex cxx)
-               -DWITH_GObjectIntrospection=$(usex introspection)
                -DWITH_JPEG=$(usex jpeg)
                -DENABLE_DCTDECODER=$(usex jpeg libjpeg none)
                -DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none)
@@ -110,6 +109,7 @@ src_configure() {
                -DWITH_TIFF=$(usex tiff)
                -DENABLE_UTILS=$(usex utils)
        )
+       use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex 
introspection) )
 
        cmake-utils_src_configure
 }

diff --git a/app-text/poppler/poppler-9999.ebuild 
b/app-text/poppler/poppler-9999.ebuild
index 5d2ce10f935..893cc9f7e68 100644
--- a/app-text/poppler/poppler-9999.ebuild
+++ b/app-text/poppler/poppler-9999.ebuild
@@ -99,7 +99,6 @@ src_configure() {
                -DWITH_Cairo=$(usex cairo)
                -DENABLE_LIBCURL=$(usex curl)
                -DENABLE_CPP=$(usex cxx)
-               -DWITH_GObjectIntrospection=$(usex introspection)
                -DWITH_JPEG=$(usex jpeg)
                -DENABLE_DCTDECODER=$(usex jpeg libjpeg none)
                -DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none)
@@ -110,6 +109,7 @@ src_configure() {
                -DWITH_TIFF=$(usex tiff)
                -DENABLE_UTILS=$(usex utils)
        )
+       use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex 
introspection) )
 
        cmake-utils_src_configure
 }

Reply via email to