From 4e68dedab1db3ecca42bed822833e1cde43beec7 Mon Sep 17 00:00:00 2001 From: Matthias Schwarzott Date: Tue, 2 May 2006 15:04:03 +0000 Subject: added a function to fix include-pathes of libsi --- eclass/vdr-plugin.eclass | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'eclass') diff --git a/eclass/vdr-plugin.eclass b/eclass/vdr-plugin.eclass index f4a817053a3a..42baebc829f4 100644 --- a/eclass/vdr-plugin.eclass +++ b/eclass/vdr-plugin.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.20 2006/05/02 15:00:15 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.21 2006/05/02 15:04:03 zzam Exp $ # # Author: # Matthias Schwarzott @@ -318,4 +318,15 @@ vdr-plugin_pkg_config() { vdr-plugin_pkg_config_final } +fix_vdr_libsi_include() +{ + einfo "Fixing include of libsi-headers" + local f + for f; do + sed -i "${f}" \ + -e '/#include/s:"\(.*libsi.*\)":<\1>:' \ + -e '/#include/s:<.*\(libsi/.*\)>::' + done +} + EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst pkg_postrm pkg_config -- cgit v1.2.3-65-gdbad