aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
Diffstat (limited to 'emulators')
-rw-r--r--emulators/vmware/Makefile2
-rw-r--r--emulators/vmware/pkg-plist2
2 files changed, 2 insertions, 2 deletions
diff --git a/emulators/vmware/Makefile b/emulators/vmware/Makefile
index ceeab8f2d7a1..b77ffc6b4e5b 100644
--- a/emulators/vmware/Makefile
+++ b/emulators/vmware/Makefile
@@ -109,7 +109,7 @@ pre-install: setoptions
.endif
post-install:
- ${LN} -s ${PREFIX}/etc/vmware /etc/vmware
+ ${LN} -sf ${PREFIX}/etc/vmware /etc/
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/emulators/vmware/pkg-plist b/emulators/vmware/pkg-plist
index da8830d4a218..6bf05e1eeef5 100644
--- a/emulators/vmware/pkg-plist
+++ b/emulators/vmware/pkg-plist
@@ -110,7 +110,7 @@ share/doc/vmware/README.FreeBSD
@exec ln -s /dev/ttyvb /compat/linux/dev/tty11
@exec mknod /compat/linux/dev/hda b 0 0x00010002
@exec mknod /compat/linux/dev/hdb b 0 0x0001000a
-@exec ln -s %D/etc/vmware /etc/vmware
+@exec ln -sf %D/etc/vmware /etc/
@exec mknod /dev/vmmon c 200 0
@exec mknod /dev/vmnet1 c 201 1
@unexec rm -f /etc/vmware /dev/vmmon /dev/vmnet1 /compat/linux/bin/df /compat/linux/dev/tty[0-9]* /compat/linux/dev/hd?