diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2016-09-26 20:37:44 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2016-09-26 20:38:21 +0200 |
commit | a78af2a7dca599bb3aaa4570300abec9424dae4b (patch) | |
tree | 47af492f31fd95a70b2b59404b76100a695193b2 /media-libs | |
parent | app-text/blogc: fixed live ebuild dependencies (diff) | |
download | gentoo-a78af2a7dca599bb3aaa4570300abec9424dae4b.tar.gz gentoo-a78af2a7dca599bb3aaa4570300abec9424dae4b.tar.bz2 gentoo-a78af2a7dca599bb3aaa4570300abec9424dae4b.zip |
media-libs/openjpeg: Fix static builds
- Use same DBUILD_TESTING logic
- CODEC must be enabled when tests are enabled
Package-Manager: portage-2.3.1
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/openjpeg/openjpeg-2.1.1_p20160922.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media-libs/openjpeg/openjpeg-2.1.1_p20160922.ebuild b/media-libs/openjpeg/openjpeg-2.1.1_p20160922.ebuild index 5fa0dcbab47c..94dacc4a7e35 100644 --- a/media-libs/openjpeg/openjpeg-2.1.1_p20160922.ebuild +++ b/media-libs/openjpeg/openjpeg-2.1.1_p20160922.ebuild @@ -59,9 +59,9 @@ multilib_src_configure() { if use static-libs; then mycmakeargs=( -DOPENJPEG_INSTALL_LIB_DIR="$(get_libdir)" - $(cmake-utils_use_build test TESTING) + -DBUILD_TESTING="$(usex test)" -DBUILD_SHARED_LIBS=OFF - -DBUILD_CODEC=OFF + -DBUILD_CODEC="$(usex test)" ) BUILD_DIR=${BUILD_DIR}_static cmake-utils_src_configure fi |