From 2fa37c42cab73a5ba48ab25541b642b82db1be2e Mon Sep 17 00:00:00 2001 From: Ypnose Date: Sun, 3 Aug 2014 15:07:08 +0200 Subject: [PATCH] smu-git: use our *FLAGS --- srcpkgs/smu-git/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/smu-git/template b/srcpkgs/smu-git/template index 90582e9dd84..ab42cdb97eb 100644 --- a/srcpkgs/smu-git/template +++ b/srcpkgs/smu-git/template @@ -1,6 +1,6 @@ # Template file for 'smu-git' pkgname=smu-git -version=20140531 +version=20140803 revision=1 build_style=gnu-makefile hostmakedepends="git" @@ -18,6 +18,11 @@ do_fetch() { git clone ${url} ${pkgname}-${version} } +pre_build() { + sed -i 's|^CFLAGS =|CFLAGS +=|g' config.mk + sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk +} + post_install() { vinstall LICENSE 644 usr/share/licenses/smu }