From 4388d5fc2930970b10babe6e733f120f1b99aefc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 3 Jan 2017 16:14:03 +0100 Subject: [PATCH] gnome-online-accounts: fix cross tpaw include path --- srcpkgs/gnome-online-accounts/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/gnome-online-accounts/template b/srcpkgs/gnome-online-accounts/template index 6f56ccd0b2b..3cd82a35c05 100644 --- a/srcpkgs/gnome-online-accounts/template +++ b/srcpkgs/gnome-online-accounts/template @@ -26,7 +26,12 @@ fi pre_configure() { autoreconf -if - export CFLAGS+=" -I$PWD/telepathy-account-widgets" +} + +post_configure() { + # Fixup include path for telepathy-account-widgets + find -name Makefile -exec sed -i "{}" \ + -e "s;-I.*/telepathy-account-widgets;-I${wrksrc}/telepathy-account-widgets;g" \; } gnome-online-accounts-devel_package() {