linamh/app-emulation/vmware-modules/vmware-modules-138.9.ebuild

24 lines
580 B
Bash
Raw Normal View History

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
KEYWORDS="~amd64 ~x86"
GENPATCHES_VER="1"
inherit vmware-mod-2
pkg_setup() {
if kernel_is ge 2 6 25; then
CONFIG_CHECK="UNUSED_SYMBOLS"
fi
if kernel_is ge 2 6 29; then
ewarn "starting with kernel version 2.6.29 the deprecated"
ewarn "symbole init_mm isn't exported."
ewarn "You have to patch kernel's >= 2.6.29 with the following patch"
ewarn "http://ftp.mars.arge.at/vmware/2.6.29-export-init_mm.patch"
fi
vmware-mod-2_pkg_setup
}