summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-power/iasl/iasl-20110922.ebuild')
-rw-r--r--sys-power/iasl/iasl-20110922.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys-power/iasl/iasl-20110922.ebuild b/sys-power/iasl/iasl-20110922.ebuild
index d7bc7beae9c5..751acb8cd8ed 100644
--- a/sys-power/iasl/iasl-20110922.ebuild
+++ b/sys-power/iasl/iasl-20110922.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/iasl-20110922.ebuild,v 1.2 2011/11/07 11:30:29 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/iasl-20110922.ebuild,v 1.3 2011/12/25 22:45:59 robbat2 Exp $
EAPI=4
@@ -26,8 +26,7 @@ RDEPEND=""
S=${WORKDIR}/${MY_P}
pkg_setup() {
- if use test
- then
+ if use test && has test ${FEATURES}; then
ewarn 'You have selected USE="test". This will install the test results'
ewarn "into /usr/share/${PF}/, compressed as a tarball."
ewarn 'The tests themselves will only rarely die, but the test results'
@@ -91,7 +90,7 @@ src_install() {
dobin "${T}"/${bin}
done
dodoc README changes.txt
- if use test ; then
+ if use test && has test ${FEATURES}; then
tb="${T}"/testresults.tar.bz2
export ASLTSDIR="$(<"${T}"/asltdir)"
ebegin "Creating Test Tarball"