From 5e2a8c8e24fd85cd76f4217919b03c344798cb01 Mon Sep 17 00:00:00 2001 From: Peter Johanson Date: Thu, 7 Sep 2006 06:46:57 +0000 Subject: [PATCH] Workaround extra glade-sharp-2.0 check in gnome-sharp-2.16.0 until the check can be enhanced in the next iteration of *-configurable.diff.gz --- eclass/gtk-sharp-component.eclass | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/eclass/gtk-sharp-component.eclass b/eclass/gtk-sharp-component.eclass index bc9be08d3b43..42416015c993 100644 --- a/eclass/gtk-sharp-component.eclass +++ b/eclass/gtk-sharp-component.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-sharp-component.eclass,v 1.26 2006/09/07 05:24:22 latexer Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-sharp-component.eclass,v 1.27 2006/09/07 06:46:57 latexer Exp $ # Author : Peter Johanson # Based off of original work in gst-plugins.eclass by @@ -114,6 +114,15 @@ gtk-sharp-component_src_unpack() { # Make the components configurable epatch ${WORKDIR}/${MY_P}-configurable.diff + # XXX: Gross hack to disable the GLADESHARP checks + # in the gnome-sharp-2.16.0 release unless you really + # need it. Remove this hack once this is moved into the + # next iteration of 2.x.0-configurable.diff.gz + if [ "${PV}" == "2.16.0" ] && [ "${PN}" != "gconf-sharp" ] + then + sed -i "s/\(.*GLADESHARP.*\)/# \1/g" configure.in || die + fi + # fixes support with pkgconfig-0.17, bug #92503 sed -i -e 's/\/GTK_SHARP_PKG_PATH/g' \ -e ':^CFLAGS=:d' \ -- 2.26.2