Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2003 15:08:24 +0100
From:      James Raftery <james@now.ie>
To:        freebsd-ports-bugs@FreeBSD.org, osa@FreeBSD.org
Cc:        peter@dataloss.nl
Subject:   Re: ports/54017: vnc ports misses XFree86-client dep
Message-ID:  <20030704140824.GA34202@bender.kerna.ie>

next in thread | raw e-mail | index | archive | help
Thanks Albert, Peter and Sergey,

Patch below to:

	o Add RUN_DEPEND on XFree86-4-clients, for the xauth binary, if
	  installing server components. Reported by Albert Kinderman
	  <albert.kinderman@csun.edu> and Peter van Dijk
	  <peter@dataloss.nl>

	o Add RUN_DEPEND on XFree86-4-fontDefaultBitmaps, for a 'fixed'
	  font, if installing server components. Reported by Albert
	  Kinderman <albert.kinderman@csun.edu> and Peter van Dijk
	  <peter@dataloss.nl>

	o Print a short message in pre-build to note the WITHOUT_SERVER
	  knob.

	o Bump PORTREVISION


Thanks,
james


diff -ruN vnc.orig/Makefile vnc/Makefile
--- vnc.orig/Makefile	Sun Mar 23 07:10:22 2003
+++ vnc/Makefile	Thu Jun 19 17:28:11 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	vnc
 PORTVERSION=	3.3.7
+PORTREVISION=	1
 CATEGORIES=	net ipv6
 MASTER_SITES=	http://www.realvnc.com/dist/
 DISTNAME=	${PORTNAME}-${PORTVERSION}-unixsrc
@@ -31,7 +32,18 @@
 MAN1+=		Xvnc.1 \
 		vncserver.1
 
+RUN_DEPENDS+=	xauth:${PORTSDIR}/x11/XFree86-4-clients \
+		${X11BASE}/lib/X11/fonts/misc/6x13-ISO8859-1.pcf.gz:${PORTSDIR}/x11-fonts/XFree86-4-fontDefaultBitmaps
+
 USE_PERL5_RUN=	yes
+.endif
+
+pre-build:
+.if !defined(WITHOUT_SERVER)
+	@${ECHO_MSG} "NOTE:"
+	@${ECHO_MSG} "   Use 'make -DWITHOUT_SERVER ...' if you do not wish to"
+	@${ECHO_MSG} "   compile/install the VNC server components."
+	@${ECHO_MSG} ""
 .endif
 
 post-build:



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