diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-01-04 23:36:20 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-01-05 01:34:28 +0100 |
commit | e0b5411244394e95a1019d4562059336e054ed82 (patch) | |
tree | 5063b713d4f346ed390b9d521186640c1f4a908d | |
parent | app-text/poppler: Sort and streamline cmakeargs (diff) | |
download | gentoo-e0b5411244394e95a1019d4562059336e054ed82.tar.gz gentoo-e0b5411244394e95a1019d4562059336e054ed82.tar.bz2 gentoo-e0b5411244394e95a1019d4562059336e054ed82.zip |
app-text/poppler: Fix configure with USE=-lcms
Package-Manager: Portage-2.3.19, Repoman-2.3.6
-rw-r--r-- | app-text/poppler/poppler-0.62.0.ebuild | 6 | ||||
-rw-r--r-- | app-text/poppler/poppler-9999.ebuild | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/app-text/poppler/poppler-0.62.0.ebuild b/app-text/poppler/poppler-0.62.0.ebuild index f27024c8297f..9934ad402fa5 100644 --- a/app-text/poppler/poppler-0.62.0.ebuild +++ b/app-text/poppler/poppler-0.62.0.ebuild @@ -103,17 +103,13 @@ src_configure() { -DWITH_JPEG=$(usex jpeg) -DENABLE_DCTDECODER=$(usex jpeg libjpeg none) -DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none) + -DENABLE_CMS=$(usex lcms lcms2 none) -DWITH_NSS3=$(usex nss) -DWITH_PNG=$(usex png) $(cmake-utils_use_find_package qt5 Qt5Core) -DWITH_TIFF=$(usex tiff) -DENABLE_UTILS=$(usex utils) ) - if use lcms; then - mycmakeargs+=(-DENABLE_CMS=lcms2) - else - mycmakeargs+=(-DENABLE_CMS=) - fi cmake-utils_src_configure } diff --git a/app-text/poppler/poppler-9999.ebuild b/app-text/poppler/poppler-9999.ebuild index 872ded8f4d0e..a2559d99b50c 100644 --- a/app-text/poppler/poppler-9999.ebuild +++ b/app-text/poppler/poppler-9999.ebuild @@ -103,17 +103,13 @@ src_configure() { -DWITH_JPEG=$(usex jpeg) -DENABLE_DCTDECODER=$(usex jpeg libjpeg none) -DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none) + -DENABLE_CMS=$(usex lcms lcms2 none) -DWITH_NSS3=$(usex nss) -DWITH_PNG=$(usex png) $(cmake-utils_use_find_package qt5 Qt5Core) -DWITH_TIFF=$(usex tiff) -DENABLE_UTILS=$(usex utils) ) - if use lcms; then - mycmakeargs+=(-DENABLE_CMS=lcms2) - else - mycmakeargs+=(-DENABLE_CMS=) - fi cmake-utils_src_configure } |