summaryrefslogtreecommitdiff
path: root/community/lockdev
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-01 00:42:10 -0700
committerroot <root@rshg054.dnsready.net>2012-10-01 00:42:10 -0700
commit9b6be78b0c13a61c14d5278f1363eaf9c6388e4c (patch)
tree72ca5c2f4a99c399cee5fe08d77d5fc33ab94e56 /community/lockdev
parent75826a796a4589c1999f1b3b86eb8c122ef44edd (diff)
Mon Oct 1 00:42:09 PDT 2012
Diffstat (limited to 'community/lockdev')
-rw-r--r--community/lockdev/PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/community/lockdev/PKGBUILD b/community/lockdev/PKGBUILD
index 6486c74aa..e22deeef1 100644
--- a/community/lockdev/PKGBUILD
+++ b/community/lockdev/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 57817 2011-11-03 10:01:23Z lfleischer $
+# $Id: PKGBUILD 76820 2012-09-30 13:49:03Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Andreas Wagner <a.wagner@stud.uni-frankfurt.de>
pkgname=lockdev
-pkgver=1.0.3_1.2
+pkgver=1.0.3_1.5
_pkgver=1.0.3
-pkgrel=3
+pkgrel=1
pkgdesc='Run-time shared library for locking devices, using _both_ FSSTND and SVr4 methods.'
url='http://packages.qa.debian.org/l/lockdev.html'
license=("GPL")
@@ -14,7 +14,7 @@ arch=('i686' 'x86_64')
source=("http://ftp.debian.org/debian/pool/main/l/${pkgname}/${pkgname}_${_pkgver}.orig.tar.gz"
"http://ftp.debian.org/debian/pool/main/l/${pkgname}/${pkgname}_${pkgver/_/-}.diff.gz")
md5sums=('64b9c1b87b125fc348e892e24625524a'
- 'afe2995ad3fc6551e107364d66a8e938')
+ 'c4e8a5a2e46b76b48339c232b358f579')
build() {
cd "${pkgname}-${_pkgver}"
@@ -22,8 +22,8 @@ build() {
patch -p1 -i "../${pkgname}_${pkgver/_/-}.diff"
sed -i "s|CFLAGS = -g|CFLAGS = -g -fPIC|" Makefile
- make shared
- make static
+ make shared CFLAGS="${CFLAGS} -D_PATH_LOCK=\\\"/run/lock/lockdev\\\""
+ make static CFLAGS="${CFLAGS} -D_PATH_LOCK=\\\"/run/lock/lockdev\\\""
}
package() {