aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/vmware2
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-02-23 05:10:34 +0800
committerolgeni <olgeni@FreeBSD.org>2001-02-23 05:10:34 +0800
commite30261240719f3ba64c30cd6fd891a1e8c903f62 (patch)
tree8ce016745016d3e6495962cdbf84e196ee1b126e /emulators/vmware2
parentd638f86d9cfa33e896082faa46d5aefed8d331ef (diff)
downloadfreebsd-ports-gnome-e30261240719f3ba64c30cd6fd891a1e8c903f62.tar.gz
freebsd-ports-gnome-e30261240719f3ba64c30cd6fd891a1e8c903f62.tar.zst
freebsd-ports-gnome-e30261240719f3ba64c30cd6fd891a1e8c903f62.zip
Fix creation of /etc/vmware link (it could be created into itself, if it
already existed at install time).
Diffstat (limited to 'emulators/vmware2')
-rw-r--r--emulators/vmware2/Makefile2
-rw-r--r--emulators/vmware2/pkg-plist2
2 files changed, 2 insertions, 2 deletions
diff --git a/emulators/vmware2/Makefile b/emulators/vmware2/Makefile
index 5dffbb8ab8f7..269e5e6976c6 100644
--- a/emulators/vmware2/Makefile
+++ b/emulators/vmware2/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/vmware2/pkg-plist b/emulators/vmware2/pkg-plist
index a96657129cf9..3410eb1b03ed 100644
--- a/emulators/vmware2/pkg-plist
+++ b/emulators/vmware2/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