aboutsummaryrefslogtreecommitdiff
path: root/emulators/vmware-guestd6
diff options
context:
space:
mode:
authorMakoto Matsushita <matusita@FreeBSD.org>2007-04-21 16:23:30 +0000
committerMakoto Matsushita <matusita@FreeBSD.org>2007-04-21 16:23:30 +0000
commit47466ea9670b055a7509fbb72fbc828df3d8aa61 (patch)
treee1957f36b9a6eda2f3832282faddfd8271365f6c /emulators/vmware-guestd6
parentd4b13f20badd228d64ab9fbdb842cccb98f7ec90 (diff)
downloadports-47466ea9670b055a7509fbb72fbc828df3d8aa61.tar.gz
ports-47466ea9670b055a7509fbb72fbc828df3d8aa61.zip
Update VMware Tools for VMware Workstation 6.0.0 build-44426,
the latest Release Candidate of Workstation 6. Also fix a typo in comment (no hurts).
Notes
Notes: svn path=/head/; revision=190560
Diffstat (limited to 'emulators/vmware-guestd6')
-rw-r--r--emulators/vmware-guestd6/Makefile20
1 files changed, 15 insertions, 5 deletions
diff --git a/emulators/vmware-guestd6/Makefile b/emulators/vmware-guestd6/Makefile
index dded4ab6b718..60a6c0c95cfe 100644
--- a/emulators/vmware-guestd6/Makefile
+++ b/emulators/vmware-guestd6/Makefile
@@ -47,7 +47,7 @@ RESTRICTED= "Not sure if we can redistribute this."
NO_PACKAGE= ${RESTRICTED}
VMWARE_VER= 6.0.0
-BUILD_VER= 39849
+BUILD_VER= 44426
.include <bsd.port.pre.mk>
@@ -70,9 +70,11 @@ BITS?= 32
.else # ${ARCH} == amd64
BITS?= 64
.endif
-.if ${OSVERSION} < 600000
+.if ((${OSVERSION} >= 500000) && (${OSVERSION} < 530000)) || (${ARCH} == i386)
+OSSFX?= -50
+.elif ${OSVERSION} < 600000
OSSFX?=
-.else # ${OSVERSION >= 600000
+.else # ${OSVERSION} >= 600000
OSSFX?= -6
.endif
@@ -114,16 +116,24 @@ VMWARE_VMXNET_PATH= 4.9/vmxnet.ko
.elif (${OSVERSION} >= 500000) && (${OSVERSION} < 600000)
PLIST_SUB+= VMWARE_VMXNET=""
.if ${BITS} == 32
+.if ${OSVERSION} < 530000
+VMWARE_VMXNET_PATH= 5.0-i386/vmxnet.ko
+.else
VMWARE_VMXNET_PATH= 5.3-i386/vmxnet.ko
+.endif
.else
-VMWARE_VMXNET_PATH= 5.3-amd64/vmxnet.ko
+# VMware doesn't provide 5.3-amd64/vmxnet.ko
+.undef WITH_VMWARE_VMXNET
+PLIST_SUB+= VMWARE_VMXNET="@comment "
.endif
.elif (${OSVERSION} >= 600000) && (${OSVERSION} < 700000)
PLIST_SUB+= VMWARE_VMXNET=""
.if ${BITS} == 32
VMWARE_VMXNET_PATH= 6.0-i386/vmxnet.ko
.else
-VMWARE_VMXNET_PATH= 6.0-amd64/vmxnet.ko
+# VMware doesn't provide 6.0-amd64/vmxnet.ko
+.undef WITH_VMWARE_VMXNET
+PLIST_SUB+= VMWARE_VMXNET="@comment "
.endif
.else
# VMware doesn't provide vmxnet.ko for other versions