summaryrefslogtreecommitdiff
path: root/extra/fakechroot
diff options
context:
space:
mode:
Diffstat (limited to 'extra/fakechroot')
-rw-r--r--extra/fakechroot/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/fakechroot/PKGBUILD b/extra/fakechroot/PKGBUILD
index 7fdc2b3a6..f6bb0d394 100644
--- a/extra/fakechroot/PKGBUILD
+++ b/extra/fakechroot/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fakechroot
pkgver=2.16
pkgrel=2
pkgdesc="Gives a fake chroot environment"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://github.com/fakechroot/fakechroot/wiki"
license=('LGPL')
options=('!libtool')
@@ -24,6 +24,8 @@ prepare() {
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+ # Somehow not all files use the chroot found by configure.
+ find test -type f | xargs sed -i 's,/usr/sbin/chroot,/usr/bin/chroot,'
./configure --prefix=/usr --libdir=/usr/lib/libfakeroot --sysconfdir=/etc
make
}