From 4b2acbd12868eddfd38fcea318f1c2b1e18a08ea Mon Sep 17 00:00:00 2001 From: Dominik Honnef Date: Sat, 6 Jun 2015 21:14:56 +0200 Subject: [PATCH] girara: fix CFLAGS and LDFLAGS --- srcpkgs/girara/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/girara/template b/srcpkgs/girara/template index 29e1b534736..d3734aea1cd 100644 --- a/srcpkgs/girara/template +++ b/srcpkgs/girara/template @@ -1,7 +1,7 @@ # Template file for 'girara' pkgname=girara version=0.2.4 -revision=1 +revision=2 build_style=gnu-makefile # COLOR=0 to avoid "tput not found" spam in the build output make_build_args="COLOR=0" @@ -15,6 +15,11 @@ short_desc="A library implementing a user interface that focuses on minimalism" distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.gz" checksum=2ee04e4c0e700d455ebaf92f804355f948754e7d3751d409db6595419e6ece5e +pre_build() { + sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk + sed -i 's/^\(LDFLAGS *+=\)/override \1/' config.mk +} + post_install() { vlicense LICENSE }