1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Handle machine/ioctl_fd.h moving to sys/fdcio.h

Approved by:	Vladimir Silyaev <vsilyaev@mindspring.com>
This commit is contained in:
Brian Somers 2001-06-10 09:48:08 +00:00
parent 4b5def80f6
commit 337163c4a2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43740
2 changed files with 10 additions and 0 deletions

View File

@ -102,6 +102,11 @@ post-patch:
${PERL} -i -pe 's,<sys/lock\.h>,<sys/mutex.h>,' \
${WRKSRC}/vmmon-only/freebsd/*.c
.endif
.if ${OSVERSION} >= 500019
${PERL} -i -pe 's,<machine/ioctl_fd\.h>,<sys/fdcio.h>,' \
${WRKSRC}/vmmon-only/freebsd/*.c \
${WRKSRC}/vmware-distrib/vmmon-only/freebsd/*.c
.endif
setoptions:
${SED} -e 's;@@PREFIX@@;${PREFIX};' \

View File

@ -102,6 +102,11 @@ post-patch:
${PERL} -i -pe 's,<sys/lock\.h>,<sys/mutex.h>,' \
${WRKSRC}/vmmon-only/freebsd/*.c
.endif
.if ${OSVERSION} >= 500019
${PERL} -i -pe 's,<machine/ioctl_fd\.h>,<sys/fdcio.h>,' \
${WRKSRC}/vmmon-only/freebsd/*.c \
${WRKSRC}/vmware-distrib/vmmon-only/freebsd/*.c
.endif
setoptions:
${SED} -e 's;@@PREFIX@@;${PREFIX};' \