summaryrefslogtreecommitdiff
path: root/social/lockfile-progs
diff options
context:
space:
mode:
Diffstat (limited to 'social/lockfile-progs')
-rw-r--r--social/lockfile-progs/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/social/lockfile-progs/PKGBUILD b/social/lockfile-progs/PKGBUILD
index 57d833952..5e404c684 100644
--- a/social/lockfile-progs/PKGBUILD
+++ b/social/lockfile-progs/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=lockfile-progs
pkgver=0.1.15
pkgrel=1
pkgdesc="programs for locking and unlocking files and mailboxes"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://packages.debian.org/unstable/misc/lockfile-progs"
depends=('glibc')
@@ -12,9 +12,11 @@ makedepends=('liblockfile')
source=(http://ftp.debian.org/debian/pool/main/l/lockfile-progs/${pkgname}_${pkgver}.tar.gz)
build() {
- cd $startdir/src/sid
+ cd $srcdir/sid
- make || return 1
+ [ "$CARCH" = "mips64el" ] && sed -i "s/-Werror//" Makefile
+
+ make
mkdir -p $startdir/pkg/usr/bin
install -s bin/* $startdir/pkg/usr/bin