Gentoo Archives: gentoo-commits

From: Ben Kohler <bkohler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-cdr/dumpet/
Date: Wed, 26 Jun 2019 12:39:27
Message-Id: 1561552751.f43a19ce9649700c9b16a44f6b75fed555dab3a2.bkohler@gentoo
1 commit: f43a19ce9649700c9b16a44f6b75fed555dab3a2
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 26 12:29:48 2019 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 26 12:39:11 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f43a19ce
7
8 app-cdr/dumpet: respect CC/CFLAGS, require valgrind for tests
9
10 Closes: https://bugs.gentoo.org/688694
11 Package-Manager: Portage-2.3.67, Repoman-2.3.16
12 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
13
14 app-cdr/dumpet/dumpet-2.1_p20140601.ebuild | 9 ++++++---
15 1 file changed, 6 insertions(+), 3 deletions(-)
16
17 diff --git a/app-cdr/dumpet/dumpet-2.1_p20140601.ebuild b/app-cdr/dumpet/dumpet-2.1_p20140601.ebuild
18 index 96ef9972e7a..27a98a38ba7 100644
19 --- a/app-cdr/dumpet/dumpet-2.1_p20140601.ebuild
20 +++ b/app-cdr/dumpet/dumpet-2.1_p20140601.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2018 Gentoo Authors
23 +# Copyright 1999-2019 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=6
27 @@ -14,16 +14,19 @@ SRC_URI="https://github.com/rhboot/dumpet/archive/${COMMIT}.tar.gz -> ${P}.tar.g
28 LICENSE="GPL-2"
29 SLOT="0"
30 KEYWORDS="~amd64 ~x86"
31 -IUSE=""
32 +IUSE="test"
33
34 RDEPEND="dev-libs/libxml2
35 dev-libs/popt"
36 DEPEND="${RDEPEND}
37 - virtual/pkgconfig"
38 + virtual/pkgconfig
39 + test? ( dev-util/valgrind )"
40
41 src_prepare() {
42 sed -i Makefile \
43 -e "s/^install : all$/install :/" \
44 + -e "s/^CFLAGS:=/CFLAGS?=/" \
45 + -e "s/^CC:=/CC?=/" \
46 || die
47 default
48 }