summaryrefslogtreecommitdiffstats
path: root/main/lockfile-progs/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/lockfile-progs/APKBUILD')
-rw-r--r--main/lockfile-progs/APKBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/main/lockfile-progs/APKBUILD b/main/lockfile-progs/APKBUILD
index a1c5aad9f..ce5d230c5 100644
--- a/main/lockfile-progs/APKBUILD
+++ b/main/lockfile-progs/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lockfile-progs
pkgver=0.1.15
-pkgrel=0
+pkgrel=1
pkgdesc="Programs for locking and unlocking files and mailboxes"
url="http://packages.debian.org/sid/lockfile-progs"
arch="all"
@@ -14,6 +14,12 @@ subpackages="$pkgname-doc"
source="http://ftp.debian.org/debian/pool/main/l/lockfile-progs/${pkgname}_$pkgver.tar.gz"
_builddir="$srcdir"/sid
+prepare() {
+ cd "$_builddir"
+ # allow us to verride CFLAGS by using 'CFLAGS ?= ...' instead of
+ # 'CFLAGS := ...' in the Makefile
+ sed -i -e '/^CFLAGS/s/:=/?=/' Makefile || return 1
+}
build() {
cd "$_builddir"