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 3f835206a..45fb7b5ae 100644
--- a/core/kmod/PKGBUILD
+++ b/core/kmod/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=kmod
pkgver=9
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')
@@ -25,6 +25,9 @@ build() {
patch -Np1 <"$srcdir"/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 \