summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-11-19 13:50:33 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-11-19 13:50:47 +0100
commit4674c955ea141bb74e94fb381be32c8072e66580 (patch)
treec0d26a22a27e5662dfcd1ea392bab0c01691dd47 /sys-power
parentapp-emacs/mpg123-el: x86 stable wrt bug #700246 (diff)
downloadgentoo-4674c955ea141bb74e94fb381be32c8072e66580.tar.gz
gentoo-4674c955ea141bb74e94fb381be32c8072e66580.tar.bz2
gentoo-4674c955ea141bb74e94fb381be32c8072e66580.zip
sys-power/iasl: Respect prefix
Thanks-to: Pengcheng Xu <i@jsteward.moe> Closes: https://bugs.gentoo.org/642402 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/iasl/iasl-20190703.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-power/iasl/iasl-20190703.ebuild b/sys-power/iasl/iasl-20190703.ebuild
index d6153d6c1452..66950ccc771f 100644
--- a/sys-power/iasl/iasl-20190703.ebuild
+++ b/sys-power/iasl/iasl-20190703.ebuild
@@ -44,7 +44,8 @@ src_prepare() {
find "${S}" -type f -name 'Makefile*' -print0 | \
xargs -0 -I '{}' \
- sed -r -e 's:-\<Werror\>::g' -i '{}' \
+ sed -r -e 's:-\<Werror\>::g' -e "s:/usr:${EPREFIX}/usr:g" \
+ -i '{}' \
|| die
# BITS is tied to ARCH - please set appropriately if you add new keywords