aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/vmware2
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2003-10-22 16:47:36 +0800
committerfjoe <fjoe@FreeBSD.org>2003-10-22 16:47:36 +0800
commit7d60c32f6845af5f8eedd540c0d2a4e0677f67ad (patch)
tree364e1a221d941ba35625e99e2e9e373c975d9ddf /emulators/vmware2
parentb4571357b0574c6a3002e7d09e063c94e4dddf25 (diff)
downloadfreebsd-ports-gnome-7d60c32f6845af5f8eedd540c0d2a4e0677f67ad.tar.gz
freebsd-ports-gnome-7d60c32f6845af5f8eedd540c0d2a4e0677f67ad.tar.zst
freebsd-ports-gnome-7d60c32f6845af5f8eedd540c0d2a4e0677f67ad.zip
Fix pkg-plist for FreeBSD 4.x.
Diffstat (limited to 'emulators/vmware2')
-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