diff options
author | Jeroen Roovers <jer@gentoo.org> | 2014-08-05 08:43:26 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2014-08-05 08:43:26 +0000 |
commit | 74b47e010e433a18399a8b006ba525c260a1c87f (patch) | |
tree | 6ae97744255e0ae47f01ffe3763b974e011c1c85 /app-arch | |
parent | Add USE=infiniband to control librdma automagic dep. (diff) | |
download | gentoo-2-74b47e010e433a18399a8b006ba525c260a1c87f.tar.gz gentoo-2-74b47e010e433a18399a8b006ba525c260a1c87f.tar.bz2 gentoo-2-74b47e010e433a18399a8b006ba525c260a1c87f.zip |
Add USE=valgrind, bring back ~alpha ~hppa ~ia64 (bug #519084).
(Portage version: 2.2.11/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/lz4/ChangeLog | 5 | ||||
-rw-r--r-- | app-arch/lz4/lz4-0_p120.ebuild | 12 | ||||
-rw-r--r-- | app-arch/lz4/metadata.xml | 3 |
3 files changed, 14 insertions, 6 deletions
diff --git a/app-arch/lz4/ChangeLog b/app-arch/lz4/ChangeLog index 0133ba6d395a..a6647ee9113a 100644 --- a/app-arch/lz4/ChangeLog +++ b/app-arch/lz4/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-arch/lz4 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/lz4/ChangeLog,v 1.25 2014/08/03 18:19:02 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/lz4/ChangeLog,v 1.26 2014/08/05 08:43:26 jer Exp $ + + 05 Aug 2014; Jeroen Roovers <jer@gentoo.org> lz4-0_p120.ebuild, metadata.xml: + Add USE=valgrind, bring back ~alpha ~hppa ~ia64 (bug #519084). 03 Aug 2014; Markus Meier <maekke@gentoo.org> lz4-0_p106-r1.ebuild: arm stable, bug #509954 diff --git a/app-arch/lz4/lz4-0_p120.ebuild b/app-arch/lz4/lz4-0_p120.ebuild index 00cb57857fb1..c2e925c99e89 100644 --- a/app-arch/lz4/lz4-0_p120.ebuild +++ b/app-arch/lz4/lz4-0_p120.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/lz4/lz4-0_p120.ebuild,v 1.1 2014/07/31 17:41:30 ryao Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/lz4/lz4-0_p120.ebuild,v 1.2 2014/08/05 08:43:26 jer Exp $ EAPI=5 @@ -14,7 +14,7 @@ else MY_PV="r${PV##0_p}" MY_P="${PN}-${MY_PV}" SRC_URI="https://github.com/Cyan4973/lz4/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~mips ~s390 ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~s390 ~x86 ~amd64-linux ~x86-linux" S="${WORKDIR}/${MY_P}" fi @@ -23,12 +23,14 @@ HOMEPAGE="https://code.google.com/p/lz4/" LICENSE="BSD-2 GPL-2" SLOT="0" -IUSE="test" +IUSE="test valgrind" -RDEPEND="" -DEPEND="test? ( dev-util/valgrind )" +DEPEND="test? ( valgrind? ( dev-util/valgrind ) )" src_prepare() { + if ! use valgrind; then + sed -i -e '/^test:/s|test-mem||g' programs/Makefile || die + fi multilib_copy_sources } diff --git a/app-arch/lz4/metadata.xml b/app-arch/lz4/metadata.xml index e63e3c3865da..1decb7dd7609 100644 --- a/app-arch/lz4/metadata.xml +++ b/app-arch/lz4/metadata.xml @@ -5,4 +5,7 @@ <email>ryao@gentoo.org</email> <name>Richard Yao</name> </maintainer> +<use> +<flag name='valgrind'>Enable usage of dev-util/valgrind in tests</flag> +</use> </pkgmetadata> |