diff options
Diffstat (limited to 'emulators/vmware2')
-rw-r--r-- | emulators/vmware2/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/emulators/vmware2/Makefile b/emulators/vmware2/Makefile index dfb194f3006e..65c2ec470e3f 100644 --- a/emulators/vmware2/Makefile +++ b/emulators/vmware2/Makefile @@ -98,6 +98,10 @@ post-patch: ${WRKSRC}/vmmon-only/freebsd/*.c .endif cd ${WRKSRC}/vmmon-only/freebsd && ${TOUCH} bus_if.h device_if.h +.if ${OSVERSION} >= 500018 + ${PERL} -i -pe 's,<sys/lock\.h>,<sys/mutex.h>,' \ + ${WRKSRC}/vmmon-only/freebsd/*.c +.endif setoptions: ${SED} -e 's;@@PREFIX@@;${PREFIX};' \ |