aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-02-23 23:17:06 +0800
committerolgeni <olgeni@FreeBSD.org>2001-02-23 23:17:06 +0800
commit7b747cd68b6a3b21dbf2cb80dd32d8aac8e4fd36 (patch)
treecff917d0506213d0152a8b74ca0df622f91abaa8 /emulators
parent3ef1565fd35963c30f27bdf08966e82f548f7688 (diff)
downloadfreebsd-ports-gnome-7b747cd68b6a3b21dbf2cb80dd32d8aac8e4fd36.tar.gz
freebsd-ports-gnome-7b747cd68b6a3b21dbf2cb80dd32d8aac8e4fd36.tar.zst
freebsd-ports-gnome-7b747cd68b6a3b21dbf2cb80dd32d8aac8e4fd36.zip
Fix creation of /etc/vmware link (merge from vmware2 port)
Requested by: Julian Elischer <julian@elischer.org>
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?