diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2007-04-26 16:45:58 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2007-04-26 16:45:58 +0000 |
commit | fcb353ecf11d4e678c5885b92a4c535004ada6bb (patch) | |
tree | bc549ff9bacaed5f43298a06d1a1418f48c64d38 /media-tv/wis-go7007/wis-go7007-0.9.8-r1.ebuild | |
parent | amd64 stable (diff) | |
download | historical-fcb353ecf11d4e678c5885b92a4c535004ada6bb.tar.gz historical-fcb353ecf11d4e678c5885b92a4c535004ada6bb.tar.bz2 historical-fcb353ecf11d4e678c5885b92a4c535004ada6bb.zip |
Make it compile with kernel greater than 2.6.16, solving Bug #157021, thanks to Brian Long <vrtladept@gmail.com> and Greg Smolyn <smolyn@gmail.com> for the patch.
Package-Manager: portage-2.1.2.4
Diffstat (limited to 'media-tv/wis-go7007/wis-go7007-0.9.8-r1.ebuild')
-rw-r--r-- | media-tv/wis-go7007/wis-go7007-0.9.8-r1.ebuild | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/media-tv/wis-go7007/wis-go7007-0.9.8-r1.ebuild b/media-tv/wis-go7007/wis-go7007-0.9.8-r1.ebuild index e3088700de72..df6dc8e260d9 100644 --- a/media-tv/wis-go7007/wis-go7007-0.9.8-r1.ebuild +++ b/media-tv/wis-go7007/wis-go7007-0.9.8-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/wis-go7007/wis-go7007-0.9.8-r1.ebuild,v 1.1 2007/04/26 08:46:06 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/wis-go7007/wis-go7007-0.9.8-r1.ebuild,v 1.2 2007/04/26 16:45:58 zzam Exp $ inherit eutils linux-mod @@ -20,7 +20,7 @@ S=${WORKDIR}/${MY_PN}-${PV} pkg_setup() { BUILD_TARGETS="all" - BUILD_PARAMS="KDIR=${KERNEL_DIR}" + BUILD_PARAMS="KERNELSRC=${KERNEL_DIR}" CONFIG_CHECK="HOTPLUG MODULES KMOD FW_LOADER I2C VIDEO_DEV SOUND SND USB USB_DEVICEFS USB_EHCI_HCD" @@ -28,10 +28,10 @@ pkg_setup() { CONFIG_CHECK="${CONFIG_CHECK} SND_MIXER_OSS SND_PCM_OSS" fi - if ! kernel_is 2 6 16; then - eerror "These drivers will only work with a 2.6.16 kernel" - die "Needs a different kernel" - fi + #if ! kernel_is 2 6 16; then + # eerror "These drivers will only work with a 2.6.16 kernel" + # #die "Needs a different kernel" + #fi linux-mod_pkg_setup MODULE_NAMES="go7007(extra:${S}:${S}/kernel) @@ -49,6 +49,9 @@ src_unpack() { unpack ${A} cd ${S} epatch "${FILESDIR}/${P}-fix-udev.diff" + if kernel_is ge 2 6 17; then + epatch "${FILESDIR}/${P}-kernel-2.6.17.diff" + fi } src_compile() { |