summaryrefslogtreecommitdiff
path: root/emulators/vmware-guestd3
diff options
context:
space:
mode:
authorMakoto Matsushita <matusita@FreeBSD.org>2005-03-08 02:01:46 +0000
committerMakoto Matsushita <matusita@FreeBSD.org>2005-03-08 02:01:46 +0000
commit167ed1819c55f000f726e2eb5a2355f346d92713 (patch)
tree66e854bdaacfc413cdbe9279a6c639daa1feb5d1 /emulators/vmware-guestd3
parent- add two missing file into pkg-plist (diff)
Check OSVERSION to set appropriate default CD-ROM device name.
PR: ports/78539 Submitted by: Scot Hetzel <swhetzel at gmail dotcom> (mostly)
Notes
Notes: svn path=/head/; revision=130576
Diffstat (limited to 'emulators/vmware-guestd3')
-rw-r--r--emulators/vmware-guestd3/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/emulators/vmware-guestd3/Makefile b/emulators/vmware-guestd3/Makefile
index 721a516a4f91..4c8880e8ee78 100644
--- a/emulators/vmware-guestd3/Makefile
+++ b/emulators/vmware-guestd3/Makefile
@@ -33,7 +33,13 @@ NO_PACKAGE= ${RESTRICTED}
VMWARE_VER= 3.2.1
BUILD_VER= 2237
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
MOUNT_DEV?= /dev/acd0c
+.else
+MOUNT_DEV?= /dev/acd0
+.endif
MOUNT_PT?= /mnt
MOUNT= /sbin/mount
UMOUNT= /sbin/umount
@@ -79,4 +85,4 @@ do-install:
fi
-${PREFIX}/sbin/vmware-guestd --cmd toolinstall.end
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>