summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild')
-rw-r--r--app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild b/app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild
index 8c03ab4..c7f9df1 100644
--- a/app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild
+++ b/app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild
@@ -28,7 +28,8 @@ S=${WORKDIR}
pkg_setup() {
CONFIG_CHECK="~HIGH_RES_TIMERS"
- CONFIG_CHECK="${CONFIG_CHECK} X86_IOPL_IOPERM" # this is needed to avoid startup problems with vmnet-natd
+ kernel_is ge 5 5 0 &&
+ CONFIG_CHECK="${CONFIG_CHECK} X86_IOPL_IOPERM" # to avoid startup problems with vmnet-natd
if kernel_is ge 2 6 37 && kernel_is lt 2 6 39; then
CONFIG_CHECK="${CONFIG_CHECK} BKL"
fi