commit:     f43a19ce9649700c9b16a44f6b75fed555dab3a2
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 26 12:29:48 2019 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Wed Jun 26 12:39:11 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f43a19ce

app-cdr/dumpet: respect CC/CFLAGS, require valgrind for tests

Closes: https://bugs.gentoo.org/688694
Package-Manager: Portage-2.3.67, Repoman-2.3.16
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 app-cdr/dumpet/dumpet-2.1_p20140601.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/app-cdr/dumpet/dumpet-2.1_p20140601.ebuild 
b/app-cdr/dumpet/dumpet-2.1_p20140601.ebuild
index 96ef9972e7a..27a98a38ba7 100644
--- a/app-cdr/dumpet/dumpet-2.1_p20140601.ebuild
+++ b/app-cdr/dumpet/dumpet-2.1_p20140601.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,16 +14,19 @@ 
SRC_URI="https://github.com/rhboot/dumpet/archive/${COMMIT}.tar.gz -> ${P}.tar.g
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="test"
 
 RDEPEND="dev-libs/libxml2
        dev-libs/popt"
 DEPEND="${RDEPEND}
-       virtual/pkgconfig"
+       virtual/pkgconfig
+       test? ( dev-util/valgrind )"
 
 src_prepare() {
        sed -i Makefile \
                -e "s/^install : all$/install :/" \
+               -e "s/^CFLAGS:=/CFLAGS?=/" \
+               -e "s/^CC:=/CC?=/" \
                || die
        default
 }

Reply via email to