2009-05-30 00:31:49 +02:00
|
|
|
# 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() {
|
2009-05-30 08:31:40 +02:00
|
|
|
if kernel_is ge 2 6 25; then
|
2009-05-30 00:31:49 +02:00
|
|
|
CONFIG_CHECK="UNUSED_SYMBOLS"
|
|
|
|
fi
|
2009-05-30 08:31:40 +02:00
|
|
|
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
|
2009-05-30 00:31:49 +02:00
|
|
|
vmware-mod-2_pkg_setup
|
|
|
|
}
|