From 7233d0912015c1a8315f5774284427b217c000cf Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Sat, 6 Jun 2015 10:54:03 +0000 Subject: [PATCH] i3blocks: fix CFLAGS after gnu-makefile passes it as cmd arg --- srcpkgs/i3blocks/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/i3blocks/template b/srcpkgs/i3blocks/template index a5437e73e4f..6f60bd7de5a 100644 --- a/srcpkgs/i3blocks/template +++ b/srcpkgs/i3blocks/template @@ -1,7 +1,7 @@ # Template file for 'i3blocks' pkgname=i3blocks version=1.3 -revision=1 +revision=2 build_style=gnu-makefile short_desc="Flexible scheduler for i3bar" maintainer="Eivind Uggedal " @@ -14,4 +14,6 @@ pre_build() { # Do not build man pages since we don't have ronn: sed -i '/install.*share\/man\/man1/d' Makefile sed -i 's/install: all man/install: all/' Makefile + + sed -i 's/^\(CFLAGS +=\)/override \1/' Makefile }