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
This commit is contained in:
parent
861d1bf7fa
commit
9296d1cac2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=210080
2 changed files with 12 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue