aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-power/iasl/Manifest2
-rw-r--r--sys-power/iasl/iasl-20160729.ebuild5
2 files changed, 5 insertions, 2 deletions
diff --git a/sys-power/iasl/Manifest b/sys-power/iasl/Manifest
index 8378f3c2..0a02a2ce 100644
--- a/sys-power/iasl/Manifest
+++ b/sys-power/iasl/Manifest
@@ -5,4 +5,4 @@ DIST acpica-unix-20160729.tar.gz 1556095 SHA256 bf45e6f96f8b603a618ca09204a3074b
DIST acpitests-unix-20140828.tar.gz 2008060 SHA256 e576c74bf1bf1c9f7348bf9419e05c8acfece7105abcdc052e66670c7af2cf00 SHA512 7c3d36c9c1054a56f9b473cd0204062d7ac93b66e1f4d448575182ac3fb0a819506701306be406dd7b8385d37c6f77d7bc4dadc57f6743203ac1bee36a975be5 WHIRLPOOL d04f1cc65f3512dcba53440c295ba1dd740d337b1e3b5812c7c2717ac066408b18ff085b77db7d5dba6cb5055e2ba13dfb1323f28d7f7cae01bbc9fc34d5f09a
DIST acpitests-unix-20160729.tar.gz 1829061 SHA256 d1e71a554392931a41ab29441249f0139e0251823060a4883a4859fa39087446 SHA512 bf6073092a0dfb208f1d4b13ff3a3c5335be8e1326b1e58acd41def1a402ab0d843600f616019d1dde6593db8c53c6876bd9d489360fe98c6a7bee95d9215600 WHIRLPOOL 4c7bb5b634529137b57753c4ac7d6ff7be8640c735fe71fdc8ad16274366169e6a85efe062243f8814b17abac6cf8c95ab61579d292b2fe40aac6bc03a64a34b
EBUILD iasl-20140828.ebuild 3391 SHA256 e8051bb4543985ec111282c009a7c84d608f41531a39807c7f7ab09fb10e6ea6 SHA512 6f09fef3fc3e0ebd92ec4a50fedd2ab1f5de4b12ceb375f8cf929242cfc8657d5516542c43020a8eb5e514d91627256392fcd2fdb9c5ef09c1d99720a27401cf WHIRLPOOL 6c1f38d0677e6d942bc7d232cfed9c2a90b4334359424a730e85b48ce8d5c3a490f12a18f3dfde0c27032708ed71d41d7d1e453354cd31103e1333e7f5148288
-EBUILD iasl-20160729.ebuild 3417 SHA256 9cf3872c473d68ded8c1c1a25a1eec615dc2446724fbd23f8240e898fc8f7e25 SHA512 76fe9ed72fddc89e47a3fb8e226b0d5f03ae942e3cc6068f8fc240c1721f715f058543ba43393978b64eafcc9a7464a7c105d170d2b756259ff57e09005f565a WHIRLPOOL 5f5590f8d670b451cd55ddc55382035f938d67bac3dc0a12e39f1681f782e991451bcd14de77f98bd792b507328a933bf2c85c9f19ad716123f7dfc3898c2683
+EBUILD iasl-20160729.ebuild 3516 SHA256 99a832484b50bec9b419c27d7fd42275c76a031f03ab115abbd92447c3cbff2e SHA512 cfa8dedf865dc89504334f20f6cb82e4c784fabab157c7df74f92861b0fed9853ed772ffd37515620c062708f2eda37e2f768610e060914e9abd8ecfa852e4ec WHIRLPOOL c09f67bc219ce2a9404ee4b49bfb36deae2c8bbe0ede8b2c9250a4f4e9a0e7bbe688bd8a4b0feed442c24ab5e7d8308ebb55a28351f3845d14da047333d57c1c
diff --git a/sys-power/iasl/iasl-20160729.ebuild b/sys-power/iasl/iasl-20160729.ebuild
index b750fcf7..99426ea0 100644
--- a/sys-power/iasl/iasl-20160729.ebuild
+++ b/sys-power/iasl/iasl-20160729.ebuild
@@ -47,9 +47,12 @@ src_prepare() {
xargs -0 -I '{}' \
sed -r -e 's:-\<Werror\>::g' -i '{}' \
|| die
+ sed -ri -e "/CC\s+=\s+gcc/s:gcc:$(tc-getCC):" \
+ generate/unix/Makefile.config \
+ || die
# BITS is tied to ARCH - please set appropriately if you add new keywords
- if [[ $ARCH == @(amd64|amd64-fbsd) ]] ; then
+ if [[ $ARCH == @(amd64|amd64-fbsd|darwin) ]] ; then
export BITS=64
else
export BITS=32