summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-01-07 01:35:09 +0000
committerSam James <sam@gentoo.org>2021-01-07 01:35:09 +0000
commit1a1285f5cda87d2565714bf76369d9af8e7f46a7 (patch)
treef459499e231ebe56e430677fa74296c4ab2308c3
parentdev-libs/libmaxminddb: revert to autoconf, add test dep (diff)
downloadgentoo-1a1285f5cda87d2565714bf76369d9af8e7f46a7.tar.gz
gentoo-1a1285f5cda87d2565714bf76369d9af8e7f46a7.tar.bz2
gentoo-1a1285f5cda87d2565714bf76369d9af8e7f46a7.zip
dev-libs/libmaxminddb: sync live
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-libs/libmaxminddb/libmaxminddb-99999.ebuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/dev-libs/libmaxminddb/libmaxminddb-99999.ebuild b/dev-libs/libmaxminddb/libmaxminddb-99999.ebuild
index 307904ee7c42..4979eebf44d8 100644
--- a/dev-libs/libmaxminddb/libmaxminddb-99999.ebuild
+++ b/dev-libs/libmaxminddb/libmaxminddb-99999.ebuild
@@ -1,8 +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 autotools git-r3 toolchain-funcs
+
+inherit toolchain-funcs git-r3
DESCRIPTION="C library for the MaxMind DB file format"
HOMEPAGE="https://github.com/maxmind/libmaxminddb"
@@ -10,8 +11,12 @@ EGIT_REPO_URI="https://github.com/maxmind/libmaxminddb.git"
LICENSE="Apache-2.0"
SLOT="0/0.0.7"
-KEYWORDS=""
-IUSE="static-libs"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ test? ( dev-perl/IPC-Run3 )
+"
DOCS=( Changes.md )
@@ -21,12 +26,11 @@ src_prepare() {
}
src_configure() {
- econf $(use_enable static-libs static)
+ econf --disable-static
tc-export AR CC
}
src_install() {
default
-
find "${ED}" -name '*.la' -delete || die
}