diff options
author | 2016-12-06 10:35:34 +0100 | |
---|---|---|
committer | 2016-12-06 10:54:33 +0100 | |
commit | 93720a47466b72720705e43eff3da2773f0080fa (patch) | |
tree | 8aa94b7286b3f32fced5926b3d8d43869f581a83 /dev-util | |
parent | dev-util/cmocka: Remove 0.3.1 (diff) | |
download | gentoo-93720a47466b72720705e43eff3da2773f0080fa.tar.gz gentoo-93720a47466b72720705e43eff3da2773f0080fa.tar.bz2 gentoo-93720a47466b72720705e43eff3da2773f0080fa.zip |
dev-util/cmocka: EAPI 6
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/cmocka/cmocka-1.1.0.ebuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/dev-util/cmocka/cmocka-1.1.0.ebuild b/dev-util/cmocka/cmocka-1.1.0.ebuild index 46e417ee3cc6..c1e08ee42a46 100644 --- a/dev-util/cmocka/cmocka-1.1.0.ebuild +++ b/dev-util/cmocka/cmocka-1.1.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 inherit cmake-multilib @@ -24,11 +24,12 @@ DOCS=( AUTHORS ChangeLog README ) multilib_src_configure() { local mycmakeargs=( - $(cmake-utils_use_with static-libs STATIC_LIB) - $(cmake-utils_use test UNIT_TESTING) + -DWITH_STATIC_LIB=$(usex static-libs) + -DUNIT_TESTING=$(usex test) $(multilib_is_native_abi && cmake-utils_use_find_package doc Doxygen \ || echo -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON) ) + cmake-utils_src_configure } @@ -37,10 +38,11 @@ multilib_src_install() { pushd doc || die doxygen Doxyfile || die rm -f html/*.md5 latex/*.md5 latex/Manifest man/man3/_* || die - dohtml html/* - dodoc latex/* + dodoc -r html/ + dodoc -r latex/ doman man/man3/*.3 popd || die fi + cmake-utils_src_install } |