From f4cb5512ad1326ae7b2492c69ac912e0460b19b4 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 7 Jun 2008 02:55:49 +0000 Subject: Per bug #224505, we need to check FEATURES in src_install, as ASLTDIR will not be defined unless USE=test AND FEATURES=test. (Portage version: 2.1.5.4) --- sys-power/iasl/ChangeLog | 6 +++++- sys-power/iasl/iasl-20080514.ebuild | 7 ++++--- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'sys-power/iasl') diff --git a/sys-power/iasl/ChangeLog b/sys-power/iasl/ChangeLog index b831f9351390..5827f64152d9 100644 --- a/sys-power/iasl/ChangeLog +++ b/sys-power/iasl/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-power/iasl # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/ChangeLog,v 1.18 2008/05/26 21:51:01 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/ChangeLog,v 1.19 2008/06/07 02:55:49 robbat2 Exp $ + + 07 Jun 2008; Robin H. Johnson iasl-20080514.ebuild: + Per bug #224505, we need to check FEATURES in src_install, as ASLTDIR will + not be defined unless USE=test AND FEATURES=test. 26 May 2008; Robin H. Johnson iasl-20060912.ebuild: Overquoted ${S} causes epatch failure, undo it per bug #223619. diff --git a/sys-power/iasl/iasl-20080514.ebuild b/sys-power/iasl/iasl-20080514.ebuild index 5e94ab51bc8c..9ac0969d9380 100644 --- a/sys-power/iasl/iasl-20080514.ebuild +++ b/sys-power/iasl/iasl-20080514.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/iasl-20080514.ebuild,v 1.2 2008/05/22 21:21:59 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/iasl-20080514.ebuild,v 1.3 2008/06/07 02:55:49 robbat2 Exp $ inherit toolchain-funcs flag-o-matic eutils @@ -74,8 +74,8 @@ src_install() { dobin "${T}"/${bin} done dodoc README changes.txt - if use test - then + if hasq test $FEATURES ; then + export ASLTSDIR="$(<"${T}"/asltdir)" cd "${ASLTSDIR}"/tmp/RESULTS || die "cd ${ASLTSDIR}/tmp/RESULTS failed" ebegin "Creating Test Tarball" tar -cjf testresults.tar.bz2 * || die "tar failed" @@ -92,6 +92,7 @@ aslts_test() { acpiexec="${T}"/acpiexec \ ASLTSDIR="${WORKDIR}/${MY_TESTS_P}"/tests/aslts export PATH="${PATH}:${ASLTSDIR}/bin" + echo "$ASLTSDIR" >"${T}"/asltdir cd "${ASLTSDIR}" edos2unix $(find . -type 'f') || die "edos2unix failed in aslts" make install || die "make install aslts test failed" -- cgit v1.2.3-65-gdbad