summaryrefslogtreecommitdiff
path: root/emulators/vmware3
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2001-02-22 21:10:34 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2001-02-22 21:10:34 +0000
commit82c7f9761b64d78f99f24028d3f7a469d5ce274c (patch)
treebe09572af74cc003e0fcb6a249202fe705e7acaf /emulators/vmware3
parentTreat pgsql's .profile as data: it could have been customized to change the (diff)
Fix creation of /etc/vmware link (it could be created into itself, if it
already existed at install time).
Notes
Notes: svn path=/head/; revision=38619
Diffstat (limited to 'emulators/vmware3')
-rw-r--r--emulators/vmware3/Makefile2
-rw-r--r--emulators/vmware3/pkg-plist2
2 files changed, 2 insertions, 2 deletions
diff --git a/emulators/vmware3/Makefile b/emulators/vmware3/Makefile
index 5dffbb8ab8f7..269e5e6976c6 100644
--- a/emulators/vmware3/Makefile
+++ b/emulators/vmware3/Makefile
@@ -153,7 +153,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/vmware3/pkg-plist b/emulators/vmware3/pkg-plist
index a96657129cf9..3410eb1b03ed 100644
--- a/emulators/vmware3/pkg-plist
+++ b/emulators/vmware3/pkg-plist
@@ -119,7 +119,7 @@ share/doc/vmware/SAMBA-LICENSE
@exec chmod 666 %%LINUXBASE%%/dev/null
@exec mknod %%LINUXBASE%%/dev/hda b 0 0x00010002
@exec mknod %%LINUXBASE%%/dev/hdb b 0 0x0001000a
-@exec ln -s %D/etc/vmware /etc/vmware
+@exec ln -sf %D/etc/vmware /etc/
@exec mknod %%LINUXBASE%%/dev/vmmon c 200 0
@exec mknod %%LINUXBASE%%/dev/vmnet1 c 149 65537
@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