From 8cb82269d669a27a73b32544ff28347f7850f5e9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 12 Aug 2013 09:46:25 +0200 Subject: [PATCH] openbox: require newer libXfixes to fix cross build. --- srcpkgs/openbox/template | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/srcpkgs/openbox/template b/srcpkgs/openbox/template index 6ba4cca9cde..a5be3edb219 100644 --- a/srcpkgs/openbox/template +++ b/srcpkgs/openbox/template @@ -1,12 +1,12 @@ # Template file for 'openbox' pkgname=openbox version=3.5.2 -revision=1 +revision=2 build_style=gnu-configure configure_args="--enable-startup-notification" hostmakedepends="pkg-config" makedepends="startup-notification-devel libxml2-devel libXrandr-devel - libXcursor-devel libXinerama-devel libSM-devel imlib2-devel pango-devel" + libXcursor-devel>=1.1.14_2 libXinerama-devel libSM-devel imlib2-devel pango-devel" short_desc="Standards compliant, fast, light-weight, extensible window manager" maintainer="Juan RP " license="GPL-2" @@ -34,6 +34,13 @@ long_desc=" * Multi-head Xinerama support! * Pipe menus" +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" libtool automake gettext-devel" + pre_configure() { + autoreconf -fi + } +fi + # Package build options build_options="svg" desc_option_svg="Enable support for SVG icons"