Date: Thu, 3 Nov 2011 04:58:37 GMT From: "4720@hushmail.com" <4720@hushmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/162264: [patch] unbreak net/tridiavnc for non-i386 Message-ID: <201111030458.pA34wbUT051651@red.freebsd.org> Resent-Message-ID: <201111030500.pA350Kod009917@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 162264 >Category: ports >Synopsis: [patch] unbreak net/tridiavnc for non-i386 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 03 05:00:20 UTC 2011 >Closed-Date: >Last-Modified: >Originator: 4720@hushmail.com >Release: >Organization: >Environment: >Description: net/tridiavnc is marked broken due to a failure of the Xvnc component to compile outside of i386. >How-To-Repeat: >Fix: attached patch disables build of Xvnc for non-i386 archs. tested working on 8.2-amd64 Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/tridiavnc/Makefile,v retrieving revision 1.20 diff -u -r1.20 Makefile --- Makefile 13 Oct 2011 02:53:50 -0000 1.20 +++ Makefile 3 Nov 2011 04:49:44 -0000 @@ -38,7 +38,6 @@ .include <bsd.port.pre.mk> .if ${ARCH} != i386 -BROKEN= Does not compile on ${MACHINE_ARCH} NO_XVNC= yes PLIST_SUB+= XVNC="@comment " .else @@ -51,6 +50,9 @@ .endfor @${PERL} -pi -e "s,/usr/local/vnc/classes,${DATADIR}/classes,g ; \ s,^#!/usr/bin/perl,#!${PERL},g" ${WRKSRC}/vncserver +.if defined(NO_XVNC) + @${REINPLACE_CMD} -e 's|cd Xvnc; make World||' ${WRKSRC}/Imakefile +.endif # We have to frob a few things, and we want our own permissions, so it's easier # to do the install ourselves. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111030458.pA34wbUT051651>