From e8684a1135ad385c79f596a7401f034db4022c4e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 9 Mar 2015 10:11:39 +0100 Subject: [PATCH] zenity: fix cross compilation. --- srcpkgs/zenity/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/zenity/template b/srcpkgs/zenity/template index cfb85fa2070..376a7cf6411 100644 --- a/srcpkgs/zenity/template +++ b/srcpkgs/zenity/template @@ -1,7 +1,7 @@ # Template file for 'zenity' pkgname=zenity version=3.14.0 -revision=1 +revision=2 build_style=gnu-configure hostmakedepends="pkg-config intltool itstool gnome-doc-utils" makedepends="gtk+3-devel libnotify-devel webkitgtk-devel" @@ -11,3 +11,7 @@ homepage="http://www.gnome.org" license="GPL-2" distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz" checksum=6b57ec6c456af17714dc366e63dabb8bbe0577878b61907805f0186d4d2b892f + +pre_configure() { + sed -i '/-I$(includedir)/d' -i src/Makefile.in +}