1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Unbreak for non-i386.

PR:		161411
Submitted by:	4720@hushmail.com
This commit is contained in:
Cy Schubert 2011-10-09 05:53:42 +00:00
parent 4cf07410c5
commit 488762834d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=283233
2 changed files with 10 additions and 2 deletions

View File

@ -17,6 +17,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= cy@FreeBSD.org
COMMENT= Display X and Win32 desktops on remote X/Win32/Java displays
LICENSE= GPLv2
USE_PERL5= yes
WRKSRC= ${WRKDIR}/unix/vnc_unixsrc
USE_IMAKE= yes
@ -24,6 +26,7 @@ USE_XORG= ice sm x11 xaw xext xmu xt xpm
ALL_TARGET= World
NO_INSTALL_MANPAGES= yes
XFREE86_HTML_MAN= no
MAKE_JOBS_UNSAFE=yes
CONFLICTS= tightvnc-[0-9]* vnc-[0-9]*
@ -35,7 +38,10 @@ MAKE_ENV+= DESTDIR=${TRIDIAVNC_BASE}
.include <bsd.port.pre.mk>
.if ${ARCH} != i386
BROKEN= Does not compile on ${MACHINE_ARCH}
NO_XVNC= yes
PLIST_SUB+= XVNC="@comment "
.else
PLIST_SUB+= XVNC=""
.endif
post-patch:
@ -48,7 +54,9 @@ post-patch:
# We have to frob a few things, and we want our own permissions, so it's easier
# to do the install ourselves.
post-install:
.if !defined(NO_XVNC)
${INSTALL_PROGRAM} ${WRKSRC}/Xvnc/programs/Xserver/Xvnc ${PREFIX}/bin/Xvnc
.endif
${INSTALL_PROGRAM} ${WRKSRC}/vncviewer/vncviewer ${PREFIX}/bin/vncviewer
${INSTALL_PROGRAM} ${WRKSRC}/vncpasswd/vncpasswd ${PREFIX}/bin/vncpasswd
${INSTALL_PROGRAM} ${WRKSRC}/vncconnect/vncconnect ${PREFIX}/bin/vncconnect

View File

@ -1,4 +1,4 @@
bin/Xvnc
%%XVNC%%bin/Xvnc
bin/vncviewer
bin/vncpasswd
bin/vncserver