aboutsummaryrefslogtreecommitdiff
path: root/emulators/vmware3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/vmware3/Makefile')
-rw-r--r--emulators/vmware3/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/emulators/vmware3/Makefile b/emulators/vmware3/Makefile
index 65c2ec470e3f..6fc7ca9ada37 100644
--- a/emulators/vmware3/Makefile
+++ b/emulators/vmware3/Makefile
@@ -102,6 +102,11 @@ post-patch:
${PERL} -i -pe 's,<sys/lock\.h>,<sys/mutex.h>,' \
${WRKSRC}/vmmon-only/freebsd/*.c
.endif
+.if ${OSVERSION} >= 500019
+ ${PERL} -i -pe 's,<machine/ioctl_fd\.h>,<sys/fdcio.h>,' \
+ ${WRKSRC}/vmmon-only/freebsd/*.c \
+ ${WRKSRC}/vmware-distrib/vmmon-only/freebsd/*.c
+.endif
setoptions:
${SED} -e 's;@@PREFIX@@;${PREFIX};' \