From c44fa2eed50b47ff1e9b99d23e0f836e2f4f32e2 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Sun, 9 Jun 2013 18:20:11 +0000 Subject: Fix test failure when sloccount is not yet installed (bug #362045). (Portage version: 2.2.0_alpha179/cvs/Linux x86_64, signed Manifest commit with key A792A613) --- app-text/sloccount/ChangeLog | 7 +++++-- app-text/sloccount/sloccount-2.26-r2.ebuild | 9 +++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'app-text/sloccount') diff --git a/app-text/sloccount/ChangeLog b/app-text/sloccount/ChangeLog index 36cf658366cc..3f8757665b7c 100644 --- a/app-text/sloccount/ChangeLog +++ b/app-text/sloccount/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-text/sloccount -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/sloccount/ChangeLog,v 1.24 2012/10/16 14:53:28 ottxor Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/sloccount/ChangeLog,v 1.25 2013/06/09 18:20:11 jer Exp $ + + 09 Jun 2013; Jeroen Roovers sloccount-2.26-r2.ebuild: + Fix test failure when sloccount is not yet installed (bug #362045). 16 Oct 2012; Christoph Junghans sloccount-2.26-r2.ebuild: added prefix support (bug #435258) diff --git a/app-text/sloccount/sloccount-2.26-r2.ebuild b/app-text/sloccount/sloccount-2.26-r2.ebuild index 6b24ef00b7a5..ce6c841d9f4a 100644 --- a/app-text/sloccount/sloccount-2.26-r2.ebuild +++ b/app-text/sloccount/sloccount-2.26-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/sloccount/sloccount-2.26-r2.ebuild,v 1.2 2012/10/16 14:53:28 ottxor Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/sloccount/sloccount-2.26-r2.ebuild,v 1.3 2013/06/09 18:20:11 jer Exp $ EAPI="4" @@ -38,6 +38,11 @@ src_compile() { emake CC=$(tc-getCC) } +src_test() { + PATH+=":${S}" + emake test +} + src_install() { emake PREFIX="${ED}/usr" DOC_DIR="${ED}/usr/share/doc/${PF}/" install dohtml *html -- cgit v1.2.3-65-gdbad