[Midnightbsd-cvs] mports [19546] trunk/net/x11vnc: fix depends on x11vnc

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Jun 30 21:28:05 EDT 2015


Revision: 19546
          http://svnweb.midnightbsd.org/mports/?rev=19546
Author:   laffer1
Date:     2015-06-30 21:28:04 -0400 (Tue, 30 Jun 2015)
Log Message:
-----------
fix depends on x11vnc

Modified Paths:
--------------
    trunk/net/x11vnc/Makefile
    trunk/net/x11vnc/pkg-plist

Modified: trunk/net/x11vnc/Makefile
===================================================================
--- trunk/net/x11vnc/Makefile	2015-07-01 01:24:04 UTC (rev 19545)
+++ trunk/net/x11vnc/Makefile	2015-07-01 01:28:04 UTC (rev 19546)
@@ -2,17 +2,18 @@
 
 PORTNAME=	x11vnc
 PORTVERSION=	0.9.13
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net
 MASTER_SITES=	SF/libvncserver/${PORTNAME}/${PORTVERSION}
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	VNC server for use with real X displays
+
 LICENSE=	gpl2
 
-LIB_DEPENDS=	jpeg:${PORTSDIR}/graphics/jpeg \
-		dbus:${PORTSDIR}/devel/dbus \
-		pthread-stubs:${PORTSDIR}/devel/libpthread-stubs
+LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/graphics/jpeg \
+		libdbus-1.so:${PORTSDIR}/devel/dbus \
+		libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs
 
 USE_XORG=	x11 xcb xdamage xfixes xrandr xinerama xext xtst xau xrender \
 		xdmcp recordproto
@@ -20,11 +21,10 @@
 # Sets LDFLAGS and adds to CONFIGURE_ENV, therefore we set LDFLAGS
 LDFLAGS+=	-L${LOCALBASE}/lib
 USE_OPENSSL=	yes
-USES=		iconv
+USES=		iconv pkgconfig
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 
-MAN1=		x11vnc.1
 PORTDOCS=	AUTHORS COPYING ChangeLog NEWS README README.LibVNCServer TODO
 
 OPTIONS_DEFINE=NLS AVAHI
@@ -44,8 +44,6 @@
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
-		${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|include_HEADERS = |noinst_HEADERS = |' \
 		-e 's|am__include_HEADERS_DIST|am__noinst_HEADERS_DIST|' \
 		-e 's|/include/rfb|/include|' ${WRKSRC}/Makefile.in

Modified: trunk/net/x11vnc/pkg-plist
===================================================================
--- trunk/net/x11vnc/pkg-plist	2015-07-01 01:24:04 UTC (rev 19545)
+++ trunk/net/x11vnc/pkg-plist	2015-07-01 01:28:04 UTC (rev 19546)
@@ -1,4 +1,5 @@
 bin/x11vnc
+man/man1/x11vnc.1.gz
 %%DATADIR%%/classes/ssl/README
 %%DATADIR%%/classes/ssl/SignedUltraViewerSSL.jar
 %%DATADIR%%/classes/ssl/SignedVncViewer.jar
@@ -12,7 +13,3 @@
 %%DATADIR%%/classes/VncViewer.jar
 %%DATADIR%%/classes/index.vnc
 share/applications/x11vnc.desktop
- at dirrm %%DATADIR%%/classes/ssl
- at dirrm %%DATADIR%%/classes
- at dirrm %%DATADIR%%
- at dirrmtry /share/applications



More information about the Midnightbsd-cvs mailing list