physlock: unbreak build (#1779)

This commit is contained in:
beefcurtains 2015-06-24 07:36:19 +00:00
parent 8b27186e2a
commit 0f5f10ef8e
1 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'physlock'
pkgname=physlock
version=0.4.5
revision=2
revision=3
build_style=gnu-makefile
short_desc="Lightweight linux console locking tool"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
@ -11,5 +11,7 @@ distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=5ddb42553142c5e2b8744d086bb8f5bf131a29fc58b8886e825b80e6a456961c
pre_build() {
sed -i 's|-o root -g root||' Makefile
sed -i Makefile \
-e 's/^CFLAGS\s*=/override CFLAGS +=/' \
-e 's|-o root -g root||'
}