diff options
author | David Seifert <soap@gentoo.org> | 2019-12-14 22:16:44 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-12-14 22:16:44 +0100 |
commit | 458211f69762df4f78d4c02e7418a20dd2df8f75 (patch) | |
tree | d64df5f80431d42be2a559ddf12fc439e3fe4b66 /dev-libs/libe | |
parent | dev-cpp/tree: Port to EAPI 7 (diff) | |
download | gentoo-458211f69762df4f78d4c02e7418a20dd2df8f75.tar.gz gentoo-458211f69762df4f78d4c02e7418a20dd2df8f75.tar.bz2 gentoo-458211f69762df4f78d4c02e7418a20dd2df8f75.zip |
dev-libs/libe: Port to EAPI 7
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-libs/libe')
-rw-r--r-- | dev-libs/libe/files/libe-0.11.0-strtoul.patch | 11 | ||||
-rw-r--r-- | dev-libs/libe/libe-0.11.0.ebuild | 32 |
2 files changed, 29 insertions, 14 deletions
diff --git a/dev-libs/libe/files/libe-0.11.0-strtoul.patch b/dev-libs/libe/files/libe-0.11.0-strtoul.patch new file mode 100644 index 000000000000..e993c593252f --- /dev/null +++ b/dev-libs/libe/files/libe-0.11.0-strtoul.patch @@ -0,0 +1,11 @@ +--- a/e/convert.h ++++ b/e/convert.h +@@ -58,7 +58,7 @@ + + errno = 0; + #ifdef _MSC_VER +- ret = _strtoui64(s.c_str(), &endptr, base); ++ ret = strtoul(s.c_str(), &endptr, base); + #else + ret = strtoull(s.c_str(), &endptr, base); + #endif diff --git a/dev-libs/libe/libe-0.11.0.ebuild b/dev-libs/libe/libe-0.11.0.ebuild index be48fd2433c4..45011db72260 100644 --- a/dev-libs/libe/libe-0.11.0.ebuild +++ b/dev-libs/libe/libe-0.11.0.ebuild @@ -1,27 +1,31 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 - -inherit eutils - -# bit messy at the moment, next release should fix it I hope -RESTRICT="test" +EAPI=7 DESCRIPTION="Hyperdex libe support library" - HOMEPAGE="http://hyperdex.org" SRC_URI="http://hyperdex.org/src/${P}.tar.gz" + LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" +# bit messy at the moment, next release should fix it I hope +RESTRICT="test" + +RDEPEND="dev-libs/libpo6" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" -IUSE="" +PATCHES=( "${FILESDIR}"/${PN}-0.11.0-strtoul.patch ) + +src_configure() { + econf --disable-static +} -RDEPEND=">=dev-libs/libpo6-0.8.0" -DEPEND="${RDEPEND} - virtual/pkgconfig" +src_install() { + default -src_prepare() { - sed -i -e 's/_strtoui64/strtoul/' e/convert.h || die + # no static archives + find "${D}" -name '*.la' -delete || die } |