From c300a9d841afb9968adbab5f9e061f59cd981031 Mon Sep 17 00:00:00 2001 From: Peter Johanson Date: Thu, 18 Jan 2007 08:22:41 +0000 Subject: [PATCH] Fix compilation issue when automake-1.10 is around. Fixes bug #161093. --- eclass/gtk-sharp-component.eclass | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/eclass/gtk-sharp-component.eclass b/eclass/gtk-sharp-component.eclass index 42416015c993..901ce3999794 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.27 2006/09/07 06:46:57 latexer Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-sharp-component.eclass,v 1.28 2007/01/18 08:22:41 latexer Exp $ # Author : Peter Johanson # Based off of original work in gst-plugins.eclass by @@ -138,6 +138,13 @@ gtk-sharp-component_src_unpack() { ${S}/gconf/GConf/*.pc.in || die fi + if [ -f "${S}/sample/gconf/Makefile.am" ] + then + # Fix install data hook (bug #161093) + sed -i -e 's/^install-hook/install-data-hook/' \ + ${S}/sample/gconf/Makefile.am || die "sed failed" + fi + # disable building of samples (#16015) sed -i -e "s:sample::" ${S}/Makefile.am || die -- 2.26.2