aboutsummaryrefslogtreecommitdiff
path: root/emulators/vmware3
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2003-04-16 12:36:46 +0000
committerMartin Blapp <mbr@FreeBSD.org>2003-04-16 12:36:46 +0000
commitd97a50a68669cda0b21f2e0f021f1e49dcf31d26 (patch)
tree34dd95b15ce052b5a5d9d288a0e41b1411ad6ce6 /emulators/vmware3
parent8d5f184023bdefb383180b848c4e649e86f164e6 (diff)
downloadports-d97a50a68669cda0b21f2e0f021f1e49dcf31d26.tar.gz
ports-d97a50a68669cda0b21f2e0f021f1e49dcf31d26.zip
Notes
Diffstat (limited to 'emulators/vmware3')
-rw-r--r--emulators/vmware3/Makefile6
-rw-r--r--emulators/vmware3/pkg-plist4
2 files changed, 5 insertions, 5 deletions
diff --git a/emulators/vmware3/Makefile b/emulators/vmware3/Makefile
index 50a109036110..82e02fc60db0 100644
--- a/emulators/vmware3/Makefile
+++ b/emulators/vmware3/Makefile
@@ -203,9 +203,9 @@ pre-install: setoptions
.endif
post-install:
- ${LN} -sf ${PREFIX}/etc/vmware /etc/
- @if [ ! -e /compat/linux/usr/lib/vmware/bin/vmware ]; then \
- ${LN} -sf ${PREFIX}/lib/vmware /compat/linux/usr/lib/vmware; \
+ ${LN} -sf ${PREFIX}/etc/vmware ${LINUXBASE}/etc/
+ @if [ ! -e ${LINUXBASE}/usr/lib/vmware/bin/vmware ]; then \
+ ${LN} -sf ${PREFIX}/lib/vmware ${LINUXBASE}/usr/lib/vmware; \
fi
@${CAT} ${PKGMESSAGE}
diff --git a/emulators/vmware3/pkg-plist b/emulators/vmware3/pkg-plist
index 9b164c85475f..963929f0bb8a 100644
--- a/emulators/vmware3/pkg-plist
+++ b/emulators/vmware3/pkg-plist
@@ -317,10 +317,10 @@ share/doc/vmware/README
@exec chmod 666 %%LINUXBASE%%/dev/null
@exec mknod %%LINUXBASE%%/dev/hda b 0 0x00010002
@exec mknod %%LINUXBASE%%/dev/hdb b 0 0x0001000a
-@exec ln -sf %D/etc/vmware /etc/
+@exec ln -sf %D/etc/vmware %%LINUXBASE%%/etc/
@exec mknod %%LINUXBASE%%/dev/vmmon c 200 0
@exec mknod %%LINUXBASE%%/dev/vmnet1 c 149 %%VMNET1_MINOR%%
-@unexec rm -f /etc/vmware %%LINUXBASE%%/dev/vmmon %%LINUXBASE%%/dev/vmnet1 %%LINUXBASE%%/bin/df %%LINUXBASE%%/dev/tty[0-9]* %%LINUXBASE%%/dev/hd? %%LINUXBASE%%/dev/null
+@unexec rm -f %%LINUXBASE%%/etc/vmware %%LINUXBASE%%/dev/vmmon %%LINUXBASE%%/dev/vmnet1 %%LINUXBASE%%/bin/df %%LINUXBASE%%/dev/tty[0-9]* %%LINUXBASE%%/dev/hd? %%LINUXBASE%%/dev/null
@dirrm etc/vmware
@dirrm lib/vmware/bin
@dirrm lib/vmware/lib/help