diff --git a/srcpkgs/physlock/template b/srcpkgs/physlock/template index 372e6a278c5..5362c8bf7cc 100644 --- a/srcpkgs/physlock/template +++ b/srcpkgs/physlock/template @@ -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 " @@ -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||' }