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:
parent
a67288c74a
commit
485f1b4641
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=37432
@ -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};' \
|
||||
|
@ -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};' \
|
||||
|
Loading…
x
Reference in New Issue
Block a user