commit:     d0e604bac9f6462a3483cca607e51775ed91f942
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 29 21:09:07 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 29 21:09:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0e604ba

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 <AT> gentoo.org>

 dev-libs/uthash/files/uthash-2.1.0-cflags.patch | 4 ++--
 dev-libs/uthash/uthash-2.2.0.ebuild             | 8 +++++---
 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 588ec26078c..246a5827afa 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 4204681a71c..d8c9c97693a 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

Reply via email to