summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2006-05-02 15:04:03 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2006-05-02 15:04:03 +0000
commitc7694d94f4302a7a0fc3d7248446ce926336c046 (patch)
treea6e59855b31f836d912403ca4955667a1dd5d113 /eclass/vdr-plugin.eclass
parentadded a bit more error-reporting code (diff)
downloadhistorical-c7694d94f4302a7a0fc3d7248446ce926336c046.tar.gz
historical-c7694d94f4302a7a0fc3d7248446ce926336c046.tar.bz2
historical-c7694d94f4302a7a0fc3d7248446ce926336c046.zip
added a function to fix include-pathes of libsi
Diffstat (limited to 'eclass/vdr-plugin.eclass')
-rw-r--r--eclass/vdr-plugin.eclass13
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