1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-03 11:12:13 +00:00

Fix for the latest -current. (sys/select.h -> sys/selinfo.h)

This commit is contained in:
Akinori MUSHA 2001-01-22 10:39:32 +00:00
parent a67288c74a
commit 485f1b4641
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=37432
2 changed files with 8 additions and 0 deletions

View File

@ -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};' \

View File

@ -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};' \