aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
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
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')
-rw-r--r--emulators/vmware2/Makefile2
-rw-r--r--emulators/vmware2/pkg-plist2
-rw-r--r--emulators/vmware3/Makefile2
-rw-r--r--emulators/vmware3/pkg-plist2
4 files changed, 4 insertions, 4 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
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