Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/x11/x11vnc/Makefile 2006/02/05 23:11:45 1.2 +++ pkgsrc/x11/x11vnc/Makefile 2011/09/13 09:17:26 1.35 @@ -1,19 +1,35 @@ -# $NetBSD: Makefile,v 1.2 2006/02/05 23:11:45 joerg Exp $ +# $NetBSD: Makefile,v 1.35 2011/09/13 09:17:26 obache Exp $ # -DISTNAME= x11vnc-0.7.2 -PKGREVISION= 1 -CATEGORIES= x11 -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libvncserver/} +DISTNAME= x11vnc-0.9.13 +CATEGORIES= x11 net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libvncserver/} -MAINTAINER= obata@lins.jp +MAINTAINER= obache@NetBSD.org HOMEPAGE= http://www.karlrunge.com/x11vnc/ COMMENT= VNC server for real X displays +LICENSE= gnu-gpl-v2 + +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes -CONFIGURE_ENV+= ac_cv_header_pthread_h=no # invalid mutex -.include "../../devel/zlib/buildlink3.mk" -.include "../../graphics/jpeg/buildlink3.mk" -.include "../../mk/x11.buildlink3.mk" +CONFIGURE_ARGS+= --with-system-libvncserver + +PTHREAD_AUTO_VARS= yes +SUBST_CLASSES+= pthread +SUBST_STAGE.pthread= pre-configure +SUBST_FILES.pthread= configure +SUBST_SED.pthread= -e 's|-lpthread||g' + +.include "options.mk" + +BUILD_DIRS= x11vnc +INSTALL_DIRS= x11vnc classes + +.include "../../security/openssl/buildlink3.mk" +.include "../../net/libvncserver/buildlink3.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" +.include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk"