commit: c919d3125b271c8827f27aa81a1b9dce9dd7ff24 Author: Yixun Lan <dlan <AT> gentoo <DOT> org> AuthorDate: Tue Feb 16 10:02:25 2021 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Tue Feb 16 10:08:05 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c919d312
net-libs/libcork: drop building docs/old drop building the doc due to sphinx error for now Cloese: https://bugs.gentoo.org/726926 Cloese: https://bugs.gentoo.org/734912 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> ...bcork-0.15.0-r1.ebuild => libcork-0.15.0-r2.ebuild} | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/net-libs/libcork/libcork-0.15.0-r1.ebuild b/net-libs/libcork/libcork-0.15.0-r2.ebuild similarity index 68% rename from net-libs/libcork/libcork-0.15.0-r1.ebuild rename to net-libs/libcork/libcork-0.15.0-r2.ebuild index 4ca5bbd356f..fe49522a5e9 100644 --- a/net-libs/libcork/libcork-0.15.0-r1.ebuild +++ b/net-libs/libcork/libcork-0.15.0-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit cmake-utils +inherit cmake DESCRIPTION="A simple, easily embeddable cross-platform C library" HOMEPAGE="https://github.com/dcreager/libcork" @@ -27,20 +27,16 @@ src_prepare() { if ! [ -e "${S}"/RELEASE-VERSION ] ; then echo ${PV} > "${S}"/RELEASE-VERSION || die fi - sed -i -e "/DESTINATION/s/\${PROJECT_NAME}/\${PROJECT_NAME}-${PVR}/g" \ - docs/old/CMakeLists.txt || die - sed -i -e "s/-Werror/-Wextra/" CMakeLists.txt || die + sed -i -e "s/-Werror/-Wextra/" \ + -e "/docs\/old/d" \ + CMakeLists.txt || die - cmake-utils_src_prepare + cmake_src_prepare } src_configure() { local mycmakeargs=( -DENABLE_STATIC=$(usex static-libs) ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install + cmake_src_configure }