diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-01-22 18:39:32 +0800 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-01-22 18:39:32 +0800 |
commit | 485f1b4641f8a83fe50892d0db5253a6b56871d7 (patch) | |
tree | 3d10f544abc7a5018745d9ff9a79a159c0dc8ea2 /emulators/vmware3 | |
parent | a67288c74a3cc8746b0458fe698d5159ce272451 (diff) | |
download | freebsd-ports-485f1b4641f8a83fe50892d0db5253a6b56871d7.tar.gz freebsd-ports-485f1b4641f8a83fe50892d0db5253a6b56871d7.tar.zst freebsd-ports-485f1b4641f8a83fe50892d0db5253a6b56871d7.zip |
Fix for the latest -current. (sys/select.h -> sys/selinfo.h)
Notes
Notes:
svn path=/head/; revision=37432
Diffstat (limited to 'emulators/vmware3')
-rw-r--r-- | emulators/vmware3/Makefile | 4 |
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};' \ |