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 8a1c56714..58f13bcc5 100644
--- a/community/iasl/PKGBUILD
+++ b/community/iasl/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=iasl
pkgver=20130517
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
}