From b997f8d93074e3ec51ceabf81dc901ec2a4b5e98 Mon Sep 17 00:00:00 2001 From: Ypnose Date: Sun, 3 Aug 2014 14:54:58 +0200 Subject: [PATCH] sic-git: use our *FLAGS --- srcpkgs/sic-git/template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/srcpkgs/sic-git/template b/srcpkgs/sic-git/template index ef2d3e11a70..0f69a5ff9a8 100644 --- a/srcpkgs/sic-git/template +++ b/srcpkgs/sic-git/template @@ -1,6 +1,6 @@ # Template file for 'sic-git' pkgname=sic-git -version=20140531 +version=20140803 revision=1 build_style=gnu-makefile hostmakedepends="git" @@ -18,6 +18,12 @@ do_fetch() { git clone ${url} ${pkgname}-${version} } +pre_build() { + sed -i 's|^CPPFLAGS =|CPPFLAGS +=|g' config.mk + sed -i 's|^CFLAGS =|CFLAGS +=|g' config.mk + sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk +} + post_install() { vinstall LICENSE 644 usr/share/licenses/sic vinstall README 644 usr/share/doc/sic