diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2006-05-02 15:04:03 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2006-05-02 15:04:03 +0000 |
commit | 4e68dedab1db3ecca42bed822833e1cde43beec7 (patch) | |
tree | 0c2e78efc9635ac2e6f08f51172ac347bff02aa4 /eclass | |
parent | added a bit more error-reporting code (diff) | |
download | gentoo-2-4e68dedab1db3ecca42bed822833e1cde43beec7.tar.gz gentoo-2-4e68dedab1db3ecca42bed822833e1cde43beec7.tar.bz2 gentoo-2-4e68dedab1db3ecca42bed822833e1cde43beec7.zip |
added a function to fix include-pathes of libsi
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/vdr-plugin.eclass | 13 |
1 files changed, 12 insertions, 1 deletions
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 <zzam@gentoo.org> @@ -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/.*\)>:<vdr/\1>:' + done +} + EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst pkg_postrm pkg_config |