summaryrefslogtreecommitdiff
path: root/community/iasl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/iasl/PKGBUILD')
-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
}