summaryrefslogtreecommitdiffstats
path: root/emulators/linux-vmware-toolbox5/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/linux-vmware-toolbox5/Makefile')
-rw-r--r--emulators/linux-vmware-toolbox5/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/emulators/linux-vmware-toolbox5/Makefile b/emulators/linux-vmware-toolbox5/Makefile
index d19844e..dfeabe4 100644
--- a/emulators/linux-vmware-toolbox5/Makefile
+++ b/emulators/linux-vmware-toolbox5/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>
OpenPOWER on IntegriCloud