From bcdeb1e7edd762c23e30cce6c49e6549c11e7a88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sat, 27 Jan 2018 03:06:49 +0100 Subject: [PATCH] unclutter-xfixes: fix cross --- srcpkgs/unclutter-xfixes/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/unclutter-xfixes/template b/srcpkgs/unclutter-xfixes/template index d8e921ad36a..48e449cf0f9 100644 --- a/srcpkgs/unclutter-xfixes/template +++ b/srcpkgs/unclutter-xfixes/template @@ -15,6 +15,10 @@ conflicts="unclutter>=0" CPPFLAGS="-D__VERSION=\\\"$version\\\"" +pre_build() { + sed -i Makefile -e "s;CC = gcc;CC = $CC;" +} + post_install() { vlicense LICENSE }