summaryrefslogtreecommitdiff
path: root/extra/git
diff options
context:
space:
mode:
Diffstat (limited to 'extra/git')
-rw-r--r--extra/git/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/extra/git/PKGBUILD b/extra/git/PKGBUILD
index 28ebc9cd9..11f677f4c 100644
--- a/extra/git/PKGBUILD
+++ b/extra/git/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=git
pkgver=1.8.4
pkgrel=1
pkgdesc="the fast distributed version control system"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://git-scm.com/"
license=('GPL2')
depends=('curl' 'expat>=2.0' 'perl-error' 'perl>=5.14.0' 'openssl' 'pcre')
@@ -44,8 +44,12 @@ build() {
check() {
export PYTHON_PATH='/usr/bin/python2'
cd "$srcdir/$pkgname-$pkgver"
- local jobs
- jobs=$(expr "$MAKEFLAGS" : '.*\(-j[0-9]*\).*')
+
+ # fails on mips
+ if [ "$CARCH" != "mips64el" ]; then
+ local jobs
+ jobs=$(expr "$MAKEFLAGS" : '.*\(-j[0-9]*\).*')
+ fi
mkdir -p /dev/shm/git-test
# We used to use this, but silly git regressions:
#GIT_TEST_OPTS="--root=/dev/shm/" \