Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Nov 2010 15:17:11 GMT
From:      barbara <barbara.xxx1975@libero.it>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/152618: net/vnc: allow vncviewer build on CURRENT
Message-ID:  <201011271517.oARFHBwD043198@red.freebsd.org>
Resent-Message-ID: <201011271520.oARFKCxc078377@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         152618
>Category:       ports
>Synopsis:       net/vnc: allow vncviewer build on CURRENT
>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:   Sat Nov 27 15:20:12 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     barbara
>Release:        9.0-CURRENT
>Organization:
>Environment:
FreeBSD satanasso.local.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Mon Nov  1 21:09:22 CET 2010     root@satanasso.local.net:/usr/obj/usr/src/sys/SATANASSO  i386
>Description:
As previously reported, while using 9.0-CURRENT, I had the need of using vncviewer.
Unfortunately net/vnc is defined BROKEN on ${OSVERSION} >= 900000
Anyway I've tested that the client part builds and runs.

>How-To-Repeat:
boot 9.0-CURRENT
# cd /usr/ports/net/vnc
# make WITHOUT_SERVER=1
===>  vnc-4.1.3_2 is marked as broken: does not build.
*** Error code 1


>Fix:
Applying the attached patch vncviewer could be built

Patch attached with submission follows:

--- Makefile.orig	2009-12-27 10:59:06.000000000 +0100
+++ Makefile	2010-11-27 16:13:42.000000000 +0100
@@ -39,11 +39,12 @@
 
 .include <bsd.port.pre.mk>
 
+.if !defined(WITHOUT_SERVER)
+
 .if ${OSVERSION} >= 900000
 BROKEN=		does not build
 .endif
 
-.if !defined(WITHOUT_SERVER)
 # This is a placeholder MASTER_SITES entry -- see the pre-fetch target.
 MASTER_SITES+=	${MASTER_SITE_XFREE:S/$/:x/}
 MASTER_SITE_SUBDIR+=	4.3.0/:x
--- pkg-plist.orig	2006-03-27 22:53:00.000000000 +0200
+++ pkg-plist	2010-11-27 15:43:39.000000000 +0100
@@ -1,7 +1,7 @@
 bin/vncviewer
-bin/vncpasswd
-bin/vncconfig
-bin/x0vncserver
+%%SERVER%%bin/vncpasswd
+%%SERVER%%bin/vncconfig
+%%SERVER%%bin/x0vncserver
 %%SERVER%%bin/Xvnc
 %%SERVER%%bin/vncserver
 %%SERVER%%%%DATADIR%%/classes/index.vnc


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011271517.oARFHBwD043198>