diff options
author | Brian Somers <brian@FreeBSD.org> | 2001-06-10 09:48:08 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2001-06-10 09:48:08 +0000 |
commit | 337163c4a223f93c21299a1f56a70aa65982cdcd (patch) | |
tree | 3765281ad36528bd1e85fc1ddf490d47bc1ff78d /emulators/vmware2 | |
parent | 4b5def80f6e92a7682ec643f32a8d7f1e513b13c (diff) | |
download | ports-337163c4a223f93c21299a1f56a70aa65982cdcd.tar.gz ports-337163c4a223f93c21299a1f56a70aa65982cdcd.zip |
Handle machine/ioctl_fd.h moving to sys/fdcio.h
Approved by: Vladimir Silyaev <vsilyaev@mindspring.com>
Notes
Notes:
svn path=/head/; revision=43740
Diffstat (limited to 'emulators/vmware2')
-rw-r--r-- | emulators/vmware2/Makefile | 5 |
1 files changed, 5 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};' \ |