summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-06-09 18:20:12 +0000
committerJeroen Roovers <jer@gentoo.org>2013-06-09 18:20:12 +0000
commitd040cc055fef474ece2cf7635a17f688ba4e639f (patch)
treefc91b44a9a8a31e05b314708b2f9db627453954a /app-text/sloccount/sloccount-2.26-r2.ebuild
parentDepend on virtual/python-imaging. (diff)
downloadhistorical-d040cc055fef474ece2cf7635a17f688ba4e639f.tar.gz
historical-d040cc055fef474ece2cf7635a17f688ba4e639f.tar.bz2
historical-d040cc055fef474ece2cf7635a17f688ba4e639f.zip
Fix test failure when sloccount is not yet installed (bug #362045).
Package-Manager: portage-2.2.0_alpha179/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'app-text/sloccount/sloccount-2.26-r2.ebuild')
-rw-r--r--app-text/sloccount/sloccount-2.26-r2.ebuild9
1 files changed, 7 insertions, 2 deletions
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