diff options
author | fjoe <fjoe@FreeBSD.org> | 2003-10-22 08:47:36 +0000 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2003-10-22 08:47:36 +0000 |
commit | 7d60c32f6845af5f8eedd540c0d2a4e0677f67ad (patch) | |
tree | 364e1a221d941ba35625e99e2e9e373c975d9ddf /emulators | |
parent | b4571357b0574c6a3002e7d09e063c94e4dddf25 (diff) | |
download | FreeBSD-ports-7d60c32f6845af5f8eedd540c0d2a4e0677f67ad.zip FreeBSD-ports-7d60c32f6845af5f8eedd540c0d2a4e0677f67ad.tar.gz |
Fix pkg-plist for FreeBSD 4.x.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/vmware2/Makefile | 6 | ||||
-rw-r--r-- | emulators/vmware2/pkg-plist | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/emulators/vmware2/Makefile b/emulators/vmware2/Makefile index ef29fda..af4d40a 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 c46cb16..a2c71a1 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 |