summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-10-22 08:47:36 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-10-22 08:47:36 +0000
commit316be76e1f19ef03b05ebfd8f6501ccf1ba2ee5d (patch)
tree212517eb3db4b08acdba61821596bb62285e2d07 /emulators
parentFix typo in loop.fullpath. (diff)
Fix pkg-plist for FreeBSD 4.x.
Notes
Notes: svn path=/head/; revision=91878
Diffstat (limited to 'emulators')
-rw-r--r--emulators/vmware2/Makefile6
-rw-r--r--emulators/vmware2/pkg-plist2
2 files changed, 7 insertions, 1 deletions
diff --git a/emulators/vmware2/Makefile b/emulators/vmware2/Makefile
index ef29fda9a6d4..af4d40a98dcf 100644
--- a/emulators/vmware2/Makefile
+++ b/emulators/vmware2/Makefile
@@ -81,6 +81,12 @@ SCRIPTS_ENV+= LINUXBASE="${LINUXBASE}" \
MAKE_ARGS= KMODDIR="${VMDIR}/lib/modules"
PLIST_SUB= LINUXBASE="${LINUXBASE}" VMNET1_MINOR="${VMNET1_MINOR}"
+.if ${OSVERSION} < 500000
+PLIST_SUB+= FREEBSD5="@comment "
+.else
+PLIST_SUB+= FREEBSD5=""
+.endif
+
post-extract:
.for m in ${MODULES}
${TAR} -xf ${WRKSRC}/lib/modules/source/${m}.tar -C ${WRKSRC}
diff --git a/emulators/vmware2/pkg-plist b/emulators/vmware2/pkg-plist
index c46cb1600a21..a2c71a1bbb33 100644
--- a/emulators/vmware2/pkg-plist
+++ b/emulators/vmware2/pkg-plist
@@ -70,7 +70,7 @@ lib/vmware/lib/help/Wiznetwork.htm
lib/vmware/lib/help/Wizos.htm
lib/vmware/lib/help/Wizpath.htm
lib/vmware/lib/help/toc.htm
-lib/vmware/lib/modules/linker.hints
+%%FREEBSD5%%lib/vmware/lib/modules/linker.hints
lib/vmware/lib/modules/vmmon_smp.ko
lib/vmware/lib/modules/vmmon_up.ko
lib/vmware/lib/xkeymap/be101