summaryrefslogtreecommitdiff
path: root/community/aide/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/aide/PKGBUILD')
-rw-r--r--community/aide/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/community/aide/PKGBUILD b/community/aide/PKGBUILD
index 684526ddc..7c7e425d7 100644
--- a/community/aide/PKGBUILD
+++ b/community/aide/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=aide
pkgver=0.15.1
pkgrel=3
pkgdesc='A file integrity checker and intrusion detection program.'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.cs.tut.fi/~rammer/aide.html"
license=('GPL')
makedepends=('mhash' 'elfutils')
@@ -20,15 +20,19 @@ md5sums=('d0b72535ff68b93a648e4d08b0ed7f07'
build() {
cd $srcdir/$pkgname-$pkgver
+ if [ "$CARCH" != "mips64el" ]; then
+ confflags="--with-posix-acl"
+ else
+ confflags=""
+ fi
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--with-mhash \
- --with-posix-acl \
--with-prelink \
--with-xattr \
--with-zlib \
- --with-e2fsattrs
+ --with-e2fsattrs ${confflags}
make
}