diff options
author | brian <brian@FreeBSD.org> | 2001-06-10 17:48:08 +0800 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-06-10 17:48:08 +0800 |
commit | e92296d5a8bfebbfda13df1b573897eff266e3a6 (patch) | |
tree | 6aa6217e832186dec35f8a1f13f1d13e914c1ef5 /emulators | |
parent | 2c9cb3da45d7ea65a11498ee259e6f5c1e5ecb8b (diff) | |
download | freebsd-ports-gnome-e92296d5a8bfebbfda13df1b573897eff266e3a6.tar.gz freebsd-ports-gnome-e92296d5a8bfebbfda13df1b573897eff266e3a6.tar.zst freebsd-ports-gnome-e92296d5a8bfebbfda13df1b573897eff266e3a6.zip |
Handle machine/ioctl_fd.h moving to sys/fdcio.h
Approved by: Vladimir Silyaev <vsilyaev@mindspring.com>
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/vmware2/Makefile | 5 | ||||
-rw-r--r-- | emulators/vmware3/Makefile | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/emulators/vmware2/Makefile b/emulators/vmware2/Makefile index 65c2ec470e3f..6fc7ca9ada37 100644 --- a/emulators/vmware2/Makefile +++ b/emulators/vmware2/Makefile @@ -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};' \ diff --git a/emulators/vmware3/Makefile b/emulators/vmware3/Makefile index 65c2ec470e3f..6fc7ca9ada37 100644 --- a/emulators/vmware3/Makefile +++ b/emulators/vmware3/Makefile @@ -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};' \ |