aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/vmware3/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-01-22 18:39:32 +0800
committerknu <knu@FreeBSD.org>2001-01-22 18:39:32 +0800
commit0daf4a7cb4f7eebb15037778f8d58c602539124a (patch)
treec0673bcbd12507916b0a7f6daaaae4b711d15e55 /emulators/vmware3/Makefile
parent8e7d51893357c426b0d47946e375aeaf7c907fef (diff)
downloadfreebsd-ports-gnome-0daf4a7cb4f7eebb15037778f8d58c602539124a.tar.gz
freebsd-ports-gnome-0daf4a7cb4f7eebb15037778f8d58c602539124a.tar.zst
freebsd-ports-gnome-0daf4a7cb4f7eebb15037778f8d58c602539124a.zip
Fix for the latest -current. (sys/select.h -> sys/selinfo.h)
Diffstat (limited to 'emulators/vmware3/Makefile')
-rw-r--r--emulators/vmware3/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/emulators/vmware3/Makefile b/emulators/vmware3/Makefile
index 95615e57bada..5dffbb8ab8f7 100644
--- a/emulators/vmware3/Makefile
+++ b/emulators/vmware3/Makefile
@@ -93,6 +93,10 @@ post-patch:
${PERL} -i -pe 's,i386(/linux/linux_ioctl\.h),compat$$1,' \
${WRKSRC}/vmnet-only/freebsd/vmnet_linux.c
.endif
+.if exists(/usr/include/sys/selinfo.h)
+ ${PERL} -i -pe 's,<sys/select\.h>,<sys/selinfo.h>,' \
+ ${WRKSRC}/vmmon-only/freebsd/*.c
+.endif
setoptions:
${SED} -e 's;@@PREFIX@@;${PREFIX};' \