From: Ben Kohler Date: Wed, 26 Jun 2019 12:29:48 +0000 (-0500) Subject: app-cdr/dumpet: respect CC/CFLAGS, require valgrind for tests X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=f43a19ce9649700c9b16a44f6b75fed555dab3a2;p=gentoo.git 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 --- diff --git a/app-cdr/dumpet/dumpet-2.1_p20140601.ebuild b/app-cdr/dumpet/dumpet-2.1_p20140601.ebuild index 96ef9972e7ad..27a98a38ba76 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 }