diff options
author | Makoto Matsushita <matusita@FreeBSD.org> | 2005-03-08 02:01:46 +0000 |
---|---|---|
committer | Makoto Matsushita <matusita@FreeBSD.org> | 2005-03-08 02:01:46 +0000 |
commit | 167ed1819c55f000f726e2eb5a2355f346d92713 (patch) | |
tree | 66e854bdaacfc413cdbe9279a6c639daa1feb5d1 /emulators/linux-vmware-toolbox6/Makefile | |
parent | f93f630513b99fbaa3e6665334377b754009c584 (diff) | |
download | ports-167ed1819c55f000f726e2eb5a2355f346d92713.tar.gz ports-167ed1819c55f000f726e2eb5a2355f346d92713.zip |
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/linux-vmware-toolbox6/Makefile')
-rw-r--r-- | emulators/linux-vmware-toolbox6/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
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 <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 @@ -85,4 +91,4 @@ post-extract: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/vmware-toolbox ${PREFIX}/bin/linux-vmware-toolbox -.include <bsd.port.mk> +.include <bsd.port.post.mk> |