ports/74313: Update net/libvncserver to not require X11
Andrew Turner
andrew+ports at fubar.geek.nz
Wed Nov 24 04:50:15 UTC 2004
>Number: 74313
>Category: ports
>Synopsis: Update net/libvncserver to not require X11
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Nov 24 04:50:14 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Andrew Turner
>Release: FreeBSD 5.3-BETA3 i386
>Organization:
>Environment:
System: FreeBSD serv.int.fubar.geek.nz 5.3-BETA3 FreeBSD 5.3-BETA3 #0: Thu Sep 9 04:25:29 GMT 2004 root at beast.int.fubar.geek.nz:/usr/obj/usr/srctrees/RELENG_5/sys/GENERIC i386
>Description:
Update the net/libvncserver port to not require X11 to be installed.
Also take Maintainership from ports@
>How-To-Repeat:
>Fix:
--- libvncserver.diff begins here ---
Index: Makefile
===================================================================
RCS file: /cvsroot/ports/net/libvncserver/Makefile,v
retrieving revision 1.2
diff -u -3 -p -u -r1.2 Makefile
--- Makefile 4 Nov 2004 22:28:58 -0000 1.2
+++ Makefile 24 Nov 2004 03:23:47 -0000
@@ -13,13 +13,20 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= x11vnc-${PORTVERSION}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= andrew+ports at fubar.geek.nz
COMMENT= Provide an easy API to write one's own vnc server
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
+.ifndef(WITHOUT_X11)
+USE_XLIB= yes
+PLIST_SUB+= X11=""
+.else
+CONFIGURE_ARGS+=--without-x
+PLIST_SUB+= X11="@comment "
+.endif
+
USE_REINPLACE= yes
-USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
Index: pkg-plist
===================================================================
RCS file: /cvsroot/ports/net/libvncserver/pkg-plist,v
retrieving revision 1.2
diff -u -3 -p -u -r1.2 pkg-plist
--- pkg-plist 4 Nov 2004 22:28:58 -0000 1.2
+++ pkg-plist 24 Nov 2004 03:18:35 -0000
@@ -1,4 +1,4 @@
-bin/x11vnc
+%%X11%%bin/x11vnc
include/rfb/rfb.h
include/rfb/rfbconfig.h
include/rfb/rfbint.h
--- libvncserver.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list