From dbc88d069bd645671e3a3bdde84ea7e89fc505eb Mon Sep 17 00:00:00 2001 From: Ypnose Date: Sun, 3 Aug 2014 14:34:05 +0200 Subject: [PATCH] mopag-git: use our *FLAGS --- srcpkgs/mopag-git/template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/srcpkgs/mopag-git/template b/srcpkgs/mopag-git/template index eefc6eae27..736e651e0c 100644 --- a/srcpkgs/mopag-git/template +++ b/srcpkgs/mopag-git/template @@ -1,6 +1,6 @@ # Template file for 'mopag-git' pkgname=mopag-git -version=20140531 +version=20140803 revision=1 hostmakedepends="git" makedepends="libX11-devel" @@ -13,6 +13,12 @@ homepage="https://github.com/c00kiemon5ter/mopag" provides="mopag-${version}_${revision}" replaces="mopag>=0" +pre_build() { + sed -i 's|^CPPFLAGS =|CPPFLAGS +=|g' Makefile + sed -i 's|^CFLAGS =|CFLAGS +=|g' Makefile + sed -i 's|^LDFLAGS =|LDFLAGS +=|g' Makefile +} + do_fetch() { local url="git://github.com/c00kiemon5ter/mopag" msg_normal "Fetching source from $url ...\n"