summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-09 09:48:32 +0000
committerSam James <sam@gentoo.org>2021-03-09 09:48:37 +0000
commit49bc18dfc6e5882cabb8b2d45ba47f0c63b41d66 (patch)
tree6731ad1e84ca077d1775d4688925f2f4195ee6e2 /dev-libs/libebml
parentdev-libs/libebml: cleanup patch (diff)
downloadgentoo-49bc18dfc6e5882cabb8b2d45ba47f0c63b41d66.tar.gz
gentoo-49bc18dfc6e5882cabb8b2d45ba47f0c63b41d66.tar.bz2
gentoo-49bc18dfc6e5882cabb8b2d45ba47f0c63b41d66.zip
dev-libs/libebml: tidy up ebuild
* Drop unnecessary src_prepare by moving eapply into PATCHES * Drop unnecessary src_configure as shared libs implied by cmake.eclass Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libebml')
-rw-r--r--dev-libs/libebml/libebml-1.4.2.ebuild15
1 files changed, 3 insertions, 12 deletions
diff --git a/dev-libs/libebml/libebml-1.4.2.ebuild b/dev-libs/libebml/libebml-1.4.2.ebuild
index d70dba6ad086..4fb676d19f7b 100644
--- a/dev-libs/libebml/libebml-1.4.2.ebuild
+++ b/dev-libs/libebml/libebml-1.4.2.ebuild
@@ -13,15 +13,6 @@ LICENSE="LGPL-2.1"
SLOT="0/5" # subslot = soname major version
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-src_prepare() {
- eapply "${FILESDIR}/${P}-header-fixes-for-gcc11.patch"
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_SHARED_LIBS=YES
- )
-
- cmake_src_configure
-}
+PATCHES=(
+ "${FILESDIR}/${P}-header-fixes-for-gcc11.patch"
+)