diff options
author | cjh <cjh@FreeBSD.org> | 2001-05-31 14:07:31 +0800 |
---|---|---|
committer | cjh <cjh@FreeBSD.org> | 2001-05-31 14:07:31 +0800 |
commit | fae13701230faa981541edf1e74b6e97104ca4cd (patch) | |
tree | 40050a53e86489145a3475f9df7ac62e534227ce /emulators/vmware2 | |
parent | ddbe4734450b2cc88b9bdc0fa765d54713fb078c (diff) | |
download | freebsd-ports-gnome-fae13701230faa981541edf1e74b6e97104ca4cd.tar.gz freebsd-ports-gnome-fae13701230faa981541edf1e74b6e97104ca4cd.tar.zst freebsd-ports-gnome-fae13701230faa981541edf1e74b6e97104ca4cd.zip |
Fix for the latest -current. (sys/lock.h -> sys/mutex.h)
PR: ports/27666
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};' \ |