summaryrefslogtreecommitdiff
path: root/social/liblockfile/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'social/liblockfile/PKGBUILD')
-rw-r--r--social/liblockfile/PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/social/liblockfile/PKGBUILD b/social/liblockfile/PKGBUILD
index e3428763c..8d7c70484 100644
--- a/social/liblockfile/PKGBUILD
+++ b/social/liblockfile/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=liblockfile
pkgver=1.08_4
pkgrel=1
pkgdesc="a library with NFS-safe locking functions"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://packages.debian.org/unstable/libs/liblockfile1"
depends=('glibc')
@@ -19,11 +19,12 @@ build() {
patch -p1 < ../debian/patches/$p
done
- ./configure --prefix=/usr --mandir=/usr/share/man || return 1
- make || return 1
+ ./configure --prefix=/usr --mandir=/usr/share/man --enable-shared --disable-static
+ sed -i "/ldconfig/d" Makefile
+ make
- mkdir -p $startdir/pkg/usr/{lib,bin,include,share/man/man1,share/man/man3}
- make install prefix=$startdir/pkg/usr mandir=$startdir/pkg/usr/share/man || return 1
+ mkdir -p $pkgdir/usr/{lib,bin,include,share/man/man1,share/man/man3}
+ make install prefix=$pkgdir/usr mandir=$pkgdir/usr/share/man
}
md5sums=('c24e2dfb4a2aab0263fe5ac1564d305e'