diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2006-10-11 20:53:40 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2006-10-11 20:53:40 +0000 |
commit | d859537b5cdea7b8c62ac06dd88887948d4e527c (patch) | |
tree | 69bbab9d9e769da8b2a8bc0706af99f4019bf85f /media-plugins/vdr-pvrinput/vdr-pvrinput-0.1.1.ebuild | |
parent | remove the bogus built_with_use check on virtual/x11, to fix bug #144909 (diff) | |
download | gentoo-2-d859537b5cdea7b8c62ac06dd88887948d4e527c.tar.gz gentoo-2-d859537b5cdea7b8c62ac06dd88887948d4e527c.tar.bz2 gentoo-2-d859537b5cdea7b8c62ac06dd88887948d4e527c.zip |
Apply include-order patch only conditional - ivtv-headers is a strange topic.
(Portage version: 2.1.2_pre2-r8)
Diffstat (limited to 'media-plugins/vdr-pvrinput/vdr-pvrinput-0.1.1.ebuild')
-rw-r--r-- | media-plugins/vdr-pvrinput/vdr-pvrinput-0.1.1.ebuild | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/media-plugins/vdr-pvrinput/vdr-pvrinput-0.1.1.ebuild b/media-plugins/vdr-pvrinput/vdr-pvrinput-0.1.1.ebuild index 1dc17a422d70..af460e5ca246 100644 --- a/media-plugins/vdr-pvrinput/vdr-pvrinput-0.1.1.ebuild +++ b/media-plugins/vdr-pvrinput/vdr-pvrinput-0.1.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-pvrinput/vdr-pvrinput-0.1.1.ebuild,v 1.3 2006/05/16 21:21:11 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-pvrinput/vdr-pvrinput-0.1.1.ebuild,v 1.4 2006/10/11 20:53:40 zzam Exp $ inherit vdr-plugin @@ -18,7 +18,17 @@ DEPEND=">=media-video/vdr-1.2.6" RDEPEND="${DEPEND} >=media-tv/ivtv-0.4.0" -PATCHES="${FILESDIR}/${P}-include-order.patch" +src_unpack() { + vdr-plugin_src_unpack + + cd ${S} + if has_version "<sys-kernel/linux-headers-2.6.17-r1"; then + epatch "${FILESDIR}/${P}-include-order.patch" + else + # magically works without action + : + fi +} src_install() { vdr-plugin_src_install |