From 167ed1819c55f000f726e2eb5a2355f346d92713 Mon Sep 17 00:00:00 2001 From: Makoto Matsushita Date: Tue, 8 Mar 2005 02:01:46 +0000 Subject: Check OSVERSION to set appropriate default CD-ROM device name. PR: ports/78539 Submitted by: Scot Hetzel (mostly) --- emulators/linux-vmware-toolbox6/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'emulators/linux-vmware-toolbox6') diff --git a/emulators/linux-vmware-toolbox6/Makefile b/emulators/linux-vmware-toolbox6/Makefile index d19844e81f30..dfeabe42e3f1 100644 --- a/emulators/linux-vmware-toolbox6/Makefile +++ b/emulators/linux-vmware-toolbox6/Makefile @@ -37,7 +37,13 @@ NO_PACKAGE= ${RESTRICTED} VMWARE_VER= 4.5.2 BUILD_VER= 8848 +.include + +.if ${OSVERSION} < 500000 +MOUNT_DEV?= /dev/acd0c +.else MOUNT_DEV?= /dev/acd0 +.endif MOUNT_PT?= /mnt MOUNT= /sbin/mount UMOUNT= /sbin/umount @@ -85,4 +91,4 @@ post-extract: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/vmware-toolbox ${PREFIX}/bin/linux-vmware-toolbox -.include +.include -- cgit v1.2.3