aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorcjh <cjh@FreeBSD.org>2001-05-31 14:07:31 +0800
committercjh <cjh@FreeBSD.org>2001-05-31 14:07:31 +0800
commitfae13701230faa981541edf1e74b6e97104ca4cd (patch)
tree40050a53e86489145a3475f9df7ac62e534227ce /emulators
parentddbe4734450b2cc88b9bdc0fa765d54713fb078c (diff)
downloadfreebsd-ports-graphics-fae13701230faa981541edf1e74b6e97104ca4cd.tar.gz
freebsd-ports-graphics-fae13701230faa981541edf1e74b6e97104ca4cd.tar.zst
freebsd-ports-graphics-fae13701230faa981541edf1e74b6e97104ca4cd.zip
Fix for the latest -current. (sys/lock.h -> sys/mutex.h)
PR: ports/27666
Diffstat (limited to 'emulators')
-rw-r--r--emulators/vmware2/Makefile4
-rw-r--r--emulators/vmware3/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/emulators/vmware2/Makefile b/emulators/vmware2/Makefile
index dfb194f3006..65c2ec470e3 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};' \
diff --git a/emulators/vmware3/Makefile b/emulators/vmware3/Makefile
index dfb194f3006..65c2ec470e3 100644
--- a/emulators/vmware3/Makefile
+++ b/emulators/vmware3/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};' \