mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
i3blocks: fix CFLAGS after gnu-makefile passes it as cmd arg
This commit is contained in:
parent
59172f3ba6
commit
7233d09120
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'i3blocks'
|
# Template file for 'i3blocks'
|
||||||
pkgname=i3blocks
|
pkgname=i3blocks
|
||||||
version=1.3
|
version=1.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
short_desc="Flexible scheduler for i3bar"
|
short_desc="Flexible scheduler for i3bar"
|
||||||
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
||||||
|
@ -14,4 +14,6 @@ pre_build() {
|
||||||
# Do not build man pages since we don't have ronn:
|
# Do not build man pages since we don't have ronn:
|
||||||
sed -i '/install.*share\/man\/man1/d' Makefile
|
sed -i '/install.*share\/man\/man1/d' Makefile
|
||||||
sed -i 's/install: all man/install: all/' Makefile
|
sed -i 's/install: all man/install: all/' Makefile
|
||||||
|
|
||||||
|
sed -i 's/^\(CFLAGS +=\)/override \1/' Makefile
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue