summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2013-04-17 06:13:57 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2013-04-17 06:13:57 -0500
commit84c217e2d9acc64713978324761816e2468b5292 (patch)
treea3ac7ea7495f817037ec3bcac5bfc30eb1708c43
parent7554c72912267ccc20bc3ed869fe48973ef649cd (diff)
Fix build in iasl
-rw-r--r--community/iasl/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/community/iasl/PKGBUILD b/community/iasl/PKGBUILD
index 7b3d9b054..d8eb2f017 100644
--- a/community/iasl/PKGBUILD
+++ b/community/iasl/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=iasl
pkgver=20130328
pkgrel=1
pkgdesc="Intel ACPI Source Language compiler"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://acpica.org"
license=('custom')
depends=('glibc')
@@ -26,8 +26,11 @@ build() {
if [[ $CARCH == i686 ]]; then
make BITS=32
- else
+ elif [[ $CARCH == x86_64 ]]; then
make BITS=64
+ else
+ sed -i 's|$(BITSFLAG)||g' Makefile.config
+ make
fi
}