commit:     a6d840e4e2f0ae93d341ae512fc951bf9661070d
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Fri May  7 16:23:57 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri May  7 16:23:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6d840e4

dev-libs/uthash: Cleanup ebuild

Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-libs/uthash/uthash-2.3.0.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-libs/uthash/uthash-2.3.0.ebuild 
b/dev-libs/uthash/uthash-2.3.0.ebuild
index 7e3b5953a15..6a3882e3aa8 100644
--- a/dev-libs/uthash/uthash-2.3.0.ebuild
+++ b/dev-libs/uthash/uthash-2.3.0.ebuild
@@ -21,9 +21,12 @@ PATCHES=(
        "${FILESDIR}"/${PN}-2.1.0-cflags.patch
 )
 
+src_configure() {
+       tc-export CC
+}
+
 src_test() {
-       cd tests || die
-       emake CC="$(tc-getCC)"
+       emake -C tests
 }
 
 src_install() {

Reply via email to