summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-06-09 18:20:11 +0000
committerJeroen Roovers <jer@gentoo.org>2013-06-09 18:20:11 +0000
commitc44fa2eed50b47ff1e9b99d23e0f836e2f4f32e2 (patch)
tree5d2fa6fd7e416d47e87f1a765b0ee7c9ba072c43 /app-text/sloccount
parentDepend on virtual/python-imaging. (diff)
downloadgentoo-2-c44fa2eed50b47ff1e9b99d23e0f836e2f4f32e2.tar.gz
gentoo-2-c44fa2eed50b47ff1e9b99d23e0f836e2f4f32e2.tar.bz2
gentoo-2-c44fa2eed50b47ff1e9b99d23e0f836e2f4f32e2.zip
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)
Diffstat (limited to 'app-text/sloccount')
-rw-r--r--app-text/sloccount/ChangeLog7
-rw-r--r--app-text/sloccount/sloccount-2.26-r2.ebuild9
2 files changed, 12 insertions, 4 deletions
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 <jer@gentoo.org> sloccount-2.26-r2.ebuild:
+ Fix test failure when sloccount is not yet installed (bug #362045).
16 Oct 2012; Christoph Junghans <ottxor@gentoo.org> 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