diff options
author | matusita <matusita@FreeBSD.org> | 2005-03-08 10:01:46 +0800 |
---|---|---|
committer | matusita <matusita@FreeBSD.org> | 2005-03-08 10:01:46 +0800 |
commit | 2d3a1dbec822dd62c49d54fb6e457d5f8cde9cce (patch) | |
tree | 7636c0ada4694c0be6ff6385ae302b28a711f016 /emulators/vmware-guestd6 | |
parent | f34c19390ca18a7df130406711e327a46724df9d (diff) | |
download | freebsd-ports-gnome-2d3a1dbec822dd62c49d54fb6e457d5f8cde9cce.tar.gz freebsd-ports-gnome-2d3a1dbec822dd62c49d54fb6e457d5f8cde9cce.tar.zst freebsd-ports-gnome-2d3a1dbec822dd62c49d54fb6e457d5f8cde9cce.zip |
Check OSVERSION to set appropriate default CD-ROM device name.
PR: ports/78539
Submitted by: Scot Hetzel <swhetzel at gmail dotcom> (mostly)
Diffstat (limited to 'emulators/vmware-guestd6')
-rw-r--r-- | emulators/vmware-guestd6/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/emulators/vmware-guestd6/Makefile b/emulators/vmware-guestd6/Makefile index 320d4f37a4f8..d22f567208a3 100644 --- a/emulators/vmware-guestd6/Makefile +++ b/emulators/vmware-guestd6/Makefile @@ -43,13 +43,17 @@ NO_PACKAGE= ${RESTRICTED} VMWARE_VER= 4.5.2 BUILD_VER= 8848 +.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 -.include <bsd.port.pre.mk> - .if defined(VMWARE_X_PORTS) .if ${X_WINDOW_SYSTEM:L} == xfree86-3 |