summaryrefslogtreecommitdiff
path: root/emulators/vmware3
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2002-08-14 16:09:27 +0000
committerJosef Karthauser <joe@FreeBSD.org>2002-08-14 16:09:27 +0000
commit08f7eabb6663634f4b25ff4502762af0f67612cc (patch)
tree4dff92f6991e2f8329a1a2cef4aff5797a2796aa /emulators/vmware3
parentCurrent doesn't use KMODDEPS. (diff)
Fix vmware2 for -current so that it compiles again.
Submitted by: Mark Santcroos <marks@ripe.net>
Notes
Notes: svn path=/head/; revision=64507
Diffstat (limited to 'emulators/vmware3')
-rw-r--r--emulators/vmware3/Makefile1
-rw-r--r--emulators/vmware3/files/kmoddeps.patch12
2 files changed, 13 insertions, 0 deletions
diff --git a/emulators/vmware3/Makefile b/emulators/vmware3/Makefile
index 305ceeb18b29..012e592562fb 100644
--- a/emulators/vmware3/Makefile
+++ b/emulators/vmware3/Makefile
@@ -109,6 +109,7 @@ post-patch:
${WRKSRC}/vmmon-only/freebsd/*.c \
${WRKSRC}/vmware-distrib/vmmon-only/freebsd/*.c
.endif
+ cat ${FILESDIR}/kmoddeps.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1
setoptions:
${SED} -e 's;@@PREFIX@@;${PREFIX};' \
diff --git a/emulators/vmware3/files/kmoddeps.patch b/emulators/vmware3/files/kmoddeps.patch
new file mode 100644
index 000000000000..e282d8c20ff4
--- /dev/null
+++ b/emulators/vmware3/files/kmoddeps.patch
@@ -0,0 +1,12 @@
+--- vmmon-only/Makefile.FreeBSD.orig Fri Jun 14 08:45:33 2002
++++ vmmon-only/Makefile.FreeBSD Fri Jun 14 08:47:42 2002
+@@ -40,7 +40,9 @@
+ SRCS=
+
+ # For 4.0-STABLE
++.if ${OSVERSION} < 500002
+ KMODDEPS= linux
++.endif
+
+ INCLUDE = -I$(.CURDIR)/include -I$(.CURDIR)/common -I$(.CURDIR)/freebsd -I$(.CURDIR)/export/include -I/sys
+ INCLUDE += -I$(.CURDIR)/../vmnet-only/freebsd/