summaryrefslogtreecommitdiff
path: root/emulators/vmware2/Makefile
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2003-02-11 21:42:52 +0000
committerAlexander Langer <alex@FreeBSD.org>2003-02-11 21:42:52 +0000
commitdde145560081531149a9967f2c1cb4d85f26dda1 (patch)
tree3cb9bd919792fe6d9c12d5581ec549b3bedeb750 /emulators/vmware2/Makefile
parentFix this on 5.0. It isn't enough to "echo -n" to /compat/linux/dev/vmnet1, (diff)
Make this port build on CURRENT systems older than 2003/01/01 (abusing
OSVERSION of 5.0-RELEASE for this) - include sys/filedesc.h where required - define M_WAITOK to 0 until THEY found a solution.
Diffstat (limited to 'emulators/vmware2/Makefile')
-rw-r--r--emulators/vmware2/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/emulators/vmware2/Makefile b/emulators/vmware2/Makefile
index 15476727ac83..eac87f137c14 100644
--- a/emulators/vmware2/Makefile
+++ b/emulators/vmware2/Makefile
@@ -113,6 +113,10 @@ post-patch:
.if ${OSVERSION} >= 500038
cat ${FILESDIR}/fo_ioctl.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1
.endif
+.if ${OSVERSION} >= 500100
+ cat ${FILESDIR}/filedesc.patch | (cd ${WRKSRC} && patch)
+ cat ${FILESDIR}/m_waitok.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1
+.endif
setoptions:
${SED} -e 's;@@PREFIX@@;${PREFIX};' \