ports/162264: [patch] unbreak net/tridiavnc for non-i386

4720 at hushmail.com 4720 at hushmail.com
Thu Nov 3 05:00:21 UTC 2011


>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 at 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:



More information about the freebsd-ports-bugs mailing list