summaryrefslogtreecommitdiff
path: root/core/kmod
diff options
context:
space:
mode:
Diffstat (limited to 'core/kmod')
-rw-r--r--core/kmod/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/kmod/PKGBUILD b/core/kmod/PKGBUILD
index 1605d798f..14f572ed7 100644
--- a/core/kmod/PKGBUILD
+++ b/core/kmod/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=kmod
pkgver=6
pkgrel=1
pkgdesc="Linux kernel module handling"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary'
license=('GPL2')
depends=('glibc' 'zlib')
@@ -21,6 +21,9 @@ md5sums=('bad08102fad212cd34405136d9a7eb94'
build() {
cd "$pkgname-$pkgver"
+ # Architecture-specific test.
+ sed -ri 's:(&smodinfo_jonsmodules,):/*\1*/:' testsuite/test-modinfo.c
+
./configure \
--sysconfdir=/etc \
--with-zlib