summaryrefslogtreecommitdiff
path: root/core/kmod/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/kmod/PKGBUILD')
-rw-r--r--core/kmod/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/kmod/PKGBUILD b/core/kmod/PKGBUILD
index 88ad2f13d..5b0eeb6f0 100644
--- a/core/kmod/PKGBUILD
+++ b/core/kmod/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=kmod
pkgver=7
pkgrel=2
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')
@@ -28,6 +28,9 @@ build() {
patch -p1 -i ../0001-split-usr-read-configs-from-lib-depmod.d-modprobe.d.patch
patch -p1 -i ../0002-config-hardcode-the-path-to-modules-to-be-lib-module.patch
+ # Architecture-specific test.
+ sed -ri 's:(&smodinfo_jonsmodules,):/*\1*/:' testsuite/test-modinfo.c
+
./configure \
--sysconfdir=/etc \
--with-zlib \