summaryrefslogtreecommitdiff
path: root/emulators/vmware3/Makefile
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2008-04-01 14:04:00 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2008-04-01 14:04:00 +0000
commit25e545e858ee2f2eeb51b5e542b5d0e92f0f110d (patch)
tree48c2b1a55410caf341bf16901319e446860802b6 /emulators/vmware3/Makefile
parentUpdate to 2.8.14 (diff)
Unbreak compiling at FreeBSD-7.x. The port seems to work only with
an UP kernel. PR: 117350 Submitted by: Yi Wang <wangyi6854 at gmail.com> Patch by: fchang at cs.ubc.ca Tested by: Yi Wang <wangyi6854 at gmail.com>
Diffstat (limited to 'emulators/vmware3/Makefile')
-rw-r--r--emulators/vmware3/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/emulators/vmware3/Makefile b/emulators/vmware3/Makefile
index a49cc6b01a78..0cddbb8fa396 100644
--- a/emulators/vmware3/Makefile
+++ b/emulators/vmware3/Makefile
@@ -105,6 +105,10 @@ post-patch:
cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/fbsd6-1.patch
cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/fbsd6-2.patch
.endif
+.if ${OSVERSION} > 700000
+ cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/fbsd7-1.patch
+ cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/fbsd7-2.patch
+.endif
pre-install:
${INSTALL_MAN} ${WRKSRC}/man/man1/vmware.1 ${MANPREFIX}/man/man1