summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/vmware-modules/vmware-modules-1.0.0.15.ebuild')
-rw-r--r--app-emulation/vmware-modules/vmware-modules-1.0.0.15.ebuild17
1 files changed, 15 insertions, 2 deletions
diff --git a/app-emulation/vmware-modules/vmware-modules-1.0.0.15.ebuild b/app-emulation/vmware-modules/vmware-modules-1.0.0.15.ebuild
index 35326cd9f901..51b319396a32 100644
--- a/app-emulation/vmware-modules/vmware-modules-1.0.0.15.ebuild
+++ b/app-emulation/vmware-modules/vmware-modules-1.0.0.15.ebuild
@@ -1,11 +1,24 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-modules/vmware-modules-1.0.0.15.ebuild,v 1.3 2006/08/19 16:35:19 ikelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-modules/vmware-modules-1.0.0.15.ebuild,v 1.4 2006/09/13 21:48:38 ikelos Exp $
-inherit vmware-mod
+inherit toolchain-funcs vmware-mod
SRC_URI="http://download3.vmware.com/software/vmserver/VMware-server-1.0.1-29996.tar.gz"
KEYWORDS="-* ~amd64 ~x86"
VMWARE_VER="VME_S1B1"
VMWARE_MOD_DIR="vmware-server-distrib/lib/modules/source"
+
+src_unpack() {
+ vmware-mod_src_unpack
+
+ if [[ "$(gcc-major-version)" -eq "4" ]] ; then
+ if [[ $(gcc-minor-version) -ge 1 ]] ; then
+ for mod in ${VMWARE_MODULE_LIST}; do
+ cd "${S}"/${mod}-only
+ epatch ${FILESDIR}/${PV}-gcc4-ignore-pedantic-errors.patch
+ done
+ fi
+ fi
+}