virtualization/app-emulation/vmware-modules/vmware-modules-138.10.ebuild
geos_one ebdbafce9a bump kernel module
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/vmware@1581 6952d904-891a-0410-993b-d76249ca496b
2009-11-29 12:10:05 +00:00

36 lines
967 B
Bash

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
GENPATCHES_VER="2"
VM_SRC_URI="mirror://vmware/software/vmserver/VMware-server-1.0.10-203137.tar.gz"
VM_MODULE_LIST="vmmon vmnet"
inherit vmware-mod-2
KEYWORDS="~amd64 ~x86"
IUSE="init_mm-patch"
S="${WORKDIR}"/vmware-server-distrib/lib/modules/source/
pkg_setup() {
if kernel_is ge 2 6 25; then
CONFIG_CHECK="UNUSED_SYMBOLS"
fi
if kernel_is ge 2 6 29; then
if use init_mm-patch ; then
ewarn "starting with kernel version 2.6.29 the deprecated"
ewarn "symbole init_mm isn't exported."
ewarn "plz recompile your kenel with applied init_mm patch"
ewarn "http://www.insecure.ws/2009/09/11/vmware-specific-specific-5-5-x-and-kernel-2-6-31"
else
ewarn "starting with kernel version 2.6.29 the deprecated"
ewarn "symbole init_mm isn't exported."
die "kernel not supported!"
fi
fi
vmware-mod-2_pkg_setup
}