summaryrefslogtreecommitdiff
path: root/emulators/vmware
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2001-02-23 15:17:06 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2001-02-23 15:17:06 +0000
commit5f07e4065fc03b1597774ab9a43579691387d071 (patch)
treeed74e61f2bd8dd09ce538b756303eb8cac7fdbae /emulators/vmware
parentUpdate MASTER_SITES: drop ~roam/ from the URL. (diff)
Fix creation of /etc/vmware link (merge from vmware2 port)
Requested by: Julian Elischer <julian@elischer.org>
Notes
Notes: svn path=/head/; revision=38636
Diffstat (limited to 'emulators/vmware')
-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?