| @@ -1,34 +1,35 @@ | | | @@ -1,34 +1,35 @@ |
1 | # $NetBSD: Makefile,v 1.83 2020/03/10 22:11:21 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.84 2020/05/02 10:24:58 rillig Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= x11vnc-0.9.16 | | 4 | DISTNAME= x11vnc-0.9.16 |
5 | PKGREVISION= 6 | | 5 | PKGREVISION= 6 |
6 | CATEGORIES= x11 net | | 6 | CATEGORIES= x11 net |
7 | MASTER_SITES= ${MASTER_SITE_GITHUB:=LibVNC/} | | 7 | MASTER_SITES= ${MASTER_SITE_GITHUB:=LibVNC/} |
8 | GITHUB_PROJECT= x11vnc | | 8 | GITHUB_PROJECT= x11vnc |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= http://www.karlrunge.com/x11vnc/ | | 11 | HOMEPAGE= http://www.karlrunge.com/x11vnc/ |
12 | COMMENT= VNC server for real X displays | | 12 | COMMENT= VNC server for real X displays |
13 | LICENSE= gnu-gpl-v2 | | 13 | LICENSE= gnu-gpl-v2 |
14 | | | 14 | |
15 | USE_TOOLS+= autoconf automake autoreconf gmake pkg-config | | 15 | USE_TOOLS+= autoconf automake autoreconf gmake pkg-config |
16 | GNU_CONFIGURE= yes | | 16 | GNU_CONFIGURE= yes |
17 | | | 17 | |
18 | PTHREAD_AUTO_VARS= yes | | 18 | PTHREAD_AUTO_VARS= yes |
19 | SUBST_CLASSES+= pthread | | 19 | SUBST_CLASSES+= pthread |
20 | SUBST_STAGE.pthread= pre-configure | | 20 | SUBST_STAGE.pthread= pre-configure |
21 | SUBST_FILES.pthread= configure | | 21 | SUBST_FILES.pthread= configure |
22 | SUBST_SED.pthread= -e 's|-lpthread||g' | | 22 | SUBST_SED.pthread= -e 's|-lpthread||g' |
| | | 23 | SUBST_NOOP_OK.pthread= yes # configure does not contain "pthread" |
23 | | | 24 | |
24 | .include "options.mk" | | 25 | .include "options.mk" |
25 | | | 26 | |
26 | pre-configure: | | 27 | pre-configure: |
27 | cd ${WRKSRC} && autoreconf -vif | | 28 | cd ${WRKSRC} && autoreconf -vif |
28 | | | 29 | |
29 | .include "../../security/openssl/buildlink3.mk" | | 30 | .include "../../security/openssl/buildlink3.mk" |
30 | .include "../../net/libvncserver/buildlink3.mk" | | 31 | .include "../../net/libvncserver/buildlink3.mk" |
31 | .include "../../graphics/png/buildlink3.mk" | | 32 | .include "../../graphics/png/buildlink3.mk" |
32 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | | 33 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" |
33 | .include "../../mk/pthread.buildlink3.mk" | | 34 | .include "../../mk/pthread.buildlink3.mk" |
34 | .include "../../mk/bsd.pkg.mk" | | 35 | .include "../../mk/bsd.pkg.mk" |