ports/54017: vnc ports misses XFree86-client dep

James Raftery james at now.ie
Fri Jul 4 14:08:20 UTC 2003


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 at csun.edu> and Peter van Dijk
	  <peter at dataloss.nl>

	o Add RUN_DEPEND on XFree86-4-fontDefaultBitmaps, for a 'fixed'
	  font, if installing server components. Reported by Albert
	  Kinderman <albert.kinderman at csun.edu> and Peter van Dijk
	  <peter at 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:



More information about the freebsd-ports-bugs mailing list