summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-12-29 21:09:07 +0000
committerSam James <sam@gentoo.org>2020-12-29 21:09:07 +0000
commitd0e604bac9f6462a3483cca607e51775ed91f942 (patch)
treeab84b445968c483db7aa56466bc0e941477333cb /dev-libs/uthash
parentdev-libs/uthash: Version updated to 2.2.0. (diff)
downloadgentoo-d0e604bac9f6462a3483cca607e51775ed91f942.tar.gz
gentoo-d0e604bac9f6462a3483cca607e51775ed91f942.tar.bz2
gentoo-d0e604bac9f6462a3483cca607e51775ed91f942.zip
dev-libs/uthash: minor changes post-merge
* Style changes * Tidy up patch Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/uthash')
-rw-r--r--dev-libs/uthash/files/uthash-2.1.0-cflags.patch4
-rw-r--r--dev-libs/uthash/uthash-2.2.0.ebuild8
2 files changed, 7 insertions, 5 deletions
diff --git a/dev-libs/uthash/files/uthash-2.1.0-cflags.patch b/dev-libs/uthash/files/uthash-2.1.0-cflags.patch
index 588ec26078c0..246a5827afae 100644
--- a/dev-libs/uthash/files/uthash-2.1.0-cflags.patch
+++ b/dev-libs/uthash/files/uthash-2.1.0-cflags.patch
@@ -1,5 +1,5 @@
---- uthash-2.1.0/tests/Makefile
-+++ uthash-2.1.0/tests/Makefile
+--- a/tests/Makefile
++++ b/tests/Makefile
@@ -18,7 +18,7 @@
CFLAGS += -I$(HASHDIR)
#CFLAGS += -DHASH_BLOOM=16
diff --git a/dev-libs/uthash/uthash-2.2.0.ebuild b/dev-libs/uthash/uthash-2.2.0.ebuild
index 4204681a71c0..d8c9c97693a2 100644
--- a/dev-libs/uthash/uthash-2.2.0.ebuild
+++ b/dev-libs/uthash/uthash-2.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -15,9 +15,11 @@ KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
-DEPEND="test? ( dev-lang/perl )"
+BDEPEND="test? ( dev-lang/perl )"
-PATCHES=( "${FILESDIR}"/uthash-2.1.0-cflags.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.1.0-cflags.patch
+)
src_test() {
cd tests || die