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() {