Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/x11/x11vnc/Makefile 2005/08/05 00:08:57 1.1.1.1 +++ pkgsrc/x11/x11vnc/Makefile 2011/04/04 09:18:07 1.32 @@ -1,18 +1,36 @@ -# $NetBSD: Makefile,v 1.1.1.1 2005/08/05 00:08:57 xtraeme Exp $ +# $NetBSD: Makefile,v 1.32 2011/04/04 09:18:07 obache Exp $ # -DISTNAME= x11vnc-0.7.2 -CATEGORIES= x11 -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libvncserver/} +DISTNAME= x11vnc-0.9.12 +PKGREVISION= 4 +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"