From df9add78592074a5cd727447cff7cbb7e57b4de1 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sat, 30 Jun 2018 22:22:57 +0200 Subject: [PATCH] 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 5d2ce10f9354..893cc9f7e682 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 5d2ce10f9354..893cc9f7e682 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 } -- 2.26.2