aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authormatusita <matusita@FreeBSD.org>2008-03-29 21:54:06 +0800
committermatusita <matusita@FreeBSD.org>2008-03-29 21:54:06 +0800
commit108c596d63e0400b66f30c6b646a6a0de122c5bb (patch)
tree06e1ee66a2a604a79a6c87652b6dae8ab189afba /emulators
parent464bc11f7423cf9c38b84e12f333ec049ac95c25 (diff)
downloadfreebsd-ports-gnome-108c596d63e0400b66f30c6b646a6a0de122c5bb.tar.gz
freebsd-ports-gnome-108c596d63e0400b66f30c6b646a6a0de122c5bb.tar.zst
freebsd-ports-gnome-108c596d63e0400b66f30c6b646a6a0de122c5bb.zip
Fix for FreeBSD/amd64; there is no Tcl version of VMware toolbox.
I haven't received any responces yet from PR originator for one month, but I assume that it would be a sign of ok. I know PORTREVISION bump should be happen, but ignored since upcoming version 6.0.3 commit will follow very soon. PR: 120827
Diffstat (limited to 'emulators')
-rw-r--r--emulators/vmware-guestd6/Makefile12
-rw-r--r--emulators/vmware-guestd6/pkg-plist.tools2
2 files changed, 12 insertions, 2 deletions
diff --git a/emulators/vmware-guestd6/Makefile b/emulators/vmware-guestd6/Makefile
index 093d299639c7..89a05f453bab 100644
--- a/emulators/vmware-guestd6/Makefile
+++ b/emulators/vmware-guestd6/Makefile
@@ -31,6 +31,12 @@ IS_INTERACTIVE= yes
.if defined(VMWARE_X_PORTS)
USE_X_PREFIX= yes
NO_BUILD= yes
+.if ${ARCH} == amd64
+WITH_VMWARE_GTK= yes
+PLIST_SUB+= INSTALLXTCLTOOL="@comment "
+.else
+PLIST_SUB+= INSTALLXTCLTOOL=""
+.endif
.if defined(WITH_VMWARE_GTK)
PLIST_SUB+= INSTALLXGTKTOOL=""
USE_ICONV= yes
@@ -172,10 +178,14 @@ post-extract:
.if defined(VMWARE_X_PORTS)
do-install:
+.if ${ARCH} == i386
${INSTALL_PROGRAM} ${WRKSRC}/lib/bin${BITS}${OSSFX}/vmware-toolbox-tcl ${X11BASE}/bin
- ${LN} -sfh vmware-toolbox-tcl ${X11BASE}/bin/vmware-toolbox
+.endif
.if defined(WITH_VMWARE_GTK)
${INSTALL_PROGRAM} ${WRKSRC}/lib/bin${BITS}${OSSFX}/vmware-toolbox-gtk ${X11BASE}/bin
+ ${LN} -sfh vmware-toolbox-gtk ${X11BASE}/bin/vmware-toolbox
+.else
+ ${LN} -sfh vmware-toolbox-tcl ${X11BASE}/bin/vmware-toolbox
.endif
-${WRKSRC}/lib/sbin${BITS}${OSSFX}/vmware-guestd --cmd toolinstall.end 2>&1
diff --git a/emulators/vmware-guestd6/pkg-plist.tools b/emulators/vmware-guestd6/pkg-plist.tools
index acae0a27e991..91f1997c7547 100644
--- a/emulators/vmware-guestd6/pkg-plist.tools
+++ b/emulators/vmware-guestd6/pkg-plist.tools
@@ -1,5 +1,5 @@
bin/vmware-toolbox
-bin/vmware-toolbox-tcl
+%%INSTALLXTCLTOOL%%bin/vmware-toolbox-tcl
%%INSTALLXGTKTOOL%%bin/vmware-toolbox-gtk
%%INSTALLXSERVER4%%etc/XF86Config-4_VMware
%%INSTALLXMODULES%%lib/modules/drivers/vmware_drv.o_VMware