summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2019-06-26 07:29:48 -0500
committerBen Kohler <bkohler@gentoo.org>2019-06-26 07:39:11 -0500
commitf43a19ce9649700c9b16a44f6b75fed555dab3a2 (patch)
treee06dcf1e11aeaa8e3a5dbba4bc89632d830eebd6 /app-cdr/dumpet
parentsys-apps/dbus: s390 stable wrt bug #687900 (diff)
downloadgentoo-f43a19ce9649700c9b16a44f6b75fed555dab3a2.tar.gz
gentoo-f43a19ce9649700c9b16a44f6b75fed555dab3a2.tar.bz2
gentoo-f43a19ce9649700c9b16a44f6b75fed555dab3a2.zip
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@gentoo.org>
Diffstat (limited to 'app-cdr/dumpet')
-rw-r--r--app-cdr/dumpet/dumpet-2.1_p20140601.ebuild9
1 files 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 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
}