diff options
author | olgeni <olgeni@FreeBSD.org> | 2001-02-23 05:10:34 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2001-02-23 05:10:34 +0800 |
commit | e30261240719f3ba64c30cd6fd891a1e8c903f62 (patch) | |
tree | 8ce016745016d3e6495962cdbf84e196ee1b126e /emulators/vmware2 | |
parent | d638f86d9cfa33e896082faa46d5aefed8d331ef (diff) | |
download | freebsd-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/Makefile | 2 | ||||
-rw-r--r-- | emulators/vmware2/pkg-plist | 2 |
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 |