virtualization/app-emulation/vmware-modules/vmware-modules-138.9.ebuild
geos_one 3d8a8a5570 move
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/vmware@1339 6952d904-891a-0410-993b-d76249ca496b
2009-07-08 05:56:58 +00:00

36 lines
962 B
Bash

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
GENPATCHES_VER="4"
VM_SRC_URI="mirror://vmware/software/vmserver/VMware-server-1.0.9-156507.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/04/21/vmware-specific-specific-55x-and-kernel-2629"
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
}