From 33e36e542a69518e664fd546f12cb7dd4dd83874 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 6 May 2013 10:42:53 +0200 Subject: [PATCH] garcon: fix build. --- srcpkgs/garcon/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/garcon/template b/srcpkgs/garcon/template index da56b9ef4af..14070f92eb4 100644 --- a/srcpkgs/garcon/template +++ b/srcpkgs/garcon/template @@ -5,7 +5,7 @@ revision=1 build_style=gnu-configure configure_args="--disable-static" hostmakedepends="pkg-config intltool" -makedepends="libglib-devel libxfce4util-devel" +makedepends="glib-devel libxfce4util-devel" short_desc="Glib/GIO freedesktop.org compliant menu implementation" maintainer="Juan RP " homepage="http://wiki.xfce.org/dev/garcon" @@ -19,6 +19,10 @@ long_desc=" was lacking menu merging features essential for loading menus modified with menu editors." +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" glib-devel" +fi + garcon-devel_package() { depends="libglib-devel ${sourcepkg}-${version}_${revision}" short_desc=+" - development files"