diff options
Diffstat (limited to 'app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.1.528969.ebuild')
-rw-r--r-- | app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.1.528969.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.1.528969.ebuild b/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.1.528969.ebuild index 214fa645a686..1d0def00d634 100644 --- a/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.1.528969.ebuild +++ b/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.1.528969.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.1.528969.ebuild,v 1.1 2011/12/03 18:33:48 vadimk Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.1.528969.ebuild,v 1.2 2012/02/04 16:34:59 vadimk Exp $ EAPI="4" @@ -51,6 +51,9 @@ pkg_setup() { src_prepare() { sed -i.bak -e '/\smake\s/s/make/$(MAKE)/g' modules/linux/{vmblock,vmci,vmhgfs,vmsync,vmxnet,vsock}/Makefile\ || die "Sed failed." + kernel_is ge 3 2 0 && epatch "${FILESDIR}/moduleparam.patch" + kernel_is ge 3 2 0 && epatch "${FILESDIR}/setnlink.patch" + kernel_is ge 3 2 0 && epatch "${FILESDIR}/fragsize.patch" } src_configure() { |