aboutsummaryrefslogtreecommitdiffstats
path: root/net/tridiavnc
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2011-10-09 13:53:42 +0800
committercy <cy@FreeBSD.org>2011-10-09 13:53:42 +0800
commit1a61317a12b86b087ab0a0aece0901c39e3f631c (patch)
treec85184bd7c6a1c537c092f0428cebbe806997d7c /net/tridiavnc
parent7819dd8d36554debf85251e536ebdb549ea659a5 (diff)
downloadfreebsd-ports-gnome-1a61317a12b86b087ab0a0aece0901c39e3f631c.tar.gz
freebsd-ports-gnome-1a61317a12b86b087ab0a0aece0901c39e3f631c.tar.zst
freebsd-ports-gnome-1a61317a12b86b087ab0a0aece0901c39e3f631c.zip
Unbreak for non-i386.
PR: 161411 Submitted by: 4720@hushmail.com
Diffstat (limited to 'net/tridiavnc')
-rw-r--r--net/tridiavnc/Makefile10
-rw-r--r--net/tridiavnc/pkg-plist2
2 files changed, 10 insertions, 2 deletions
diff --git a/net/tridiavnc/Makefile b/net/tridiavnc/Makefile
index 678c8895f35b..ac0b34400db6 100644
--- a/net/tridiavnc/Makefile
+++ b/net/tridiavnc/Makefile
@@ -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
diff --git a/net/tridiavnc/pkg-plist b/net/tridiavnc/pkg-plist
index 5ac68409b13a..c4aff02ae775 100644
--- a/net/tridiavnc/pkg-plist
+++ b/net/tridiavnc/pkg-plist
@@ -1,4 +1,4 @@
-bin/Xvnc
+%%XVNC%%bin/Xvnc
bin/vncviewer
bin/vncpasswd
bin/vncserver