aboutsummaryrefslogtreecommitdiff
path: root/emulators/open-vm-tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/open-vm-tools/Makefile')
-rw-r--r--emulators/open-vm-tools/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/emulators/open-vm-tools/Makefile b/emulators/open-vm-tools/Makefile
index b598618f7e09..3718bb37e7f7 100644
--- a/emulators/open-vm-tools/Makefile
+++ b/emulators/open-vm-tools/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
#
-PORTNAME= open-vm-tools-FreeBSD${OSREL}-${ARCH}-Build
+PORTNAME= open-vm-tools
PORTVERSION= ${BUILD_VER}
CATEGORIES= emulators
DISTNAME= open-vm-tools-${RELEASE_DATE}-${BUILD_VER}
@@ -41,6 +41,12 @@ USE_RC_SUBR= vmware-guestd.sh
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 600000
+PLIST_SUB+= FIVEONLY="@comment "
+.else
+PLIST_SUB+= FIVEONLY=""
+.endif
+
post-build:
cd ${WRKSRC}/modules && make