summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-05-02 10:24:58 +0000
committerrillig <rillig@pkgsrc.org>2020-05-02 10:24:58 +0000
commit3bcaf1747778bdff1025a0eb0e603151d41d9aad (patch)
tree694439d505d5e09ea54bbea161a272ca7ab88a56
parent77319d08b1077a5236c0e86ba2277df161c43312 (diff)
downloadpkgsrc-3bcaf1747778bdff1025a0eb0e603151d41d9aad.tar.gz
x11/x11vnc: allow no-op SUBST block for pthread
On NetBSD-8.0-x86_64, the generated configure script does not contain "pthread" at all. Maybe it is different on other platforms, therefore leave the possible substitution as-is, but don't error out.
-rw-r--r--x11/x11vnc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11/x11vnc/Makefile b/x11/x11vnc/Makefile
index 26360c8b274..9a6f360be01 100644
--- a/x11/x11vnc/Makefile
+++ b/x11/x11vnc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.83 2020/03/10 22:11:21 wiz Exp $
+# $NetBSD: Makefile,v 1.84 2020/05/02 10:24:58 rillig Exp $
#
DISTNAME= x11vnc-0.9.16
@@ -20,6 +20,7 @@ SUBST_CLASSES+= pthread
SUBST_STAGE.pthread= pre-configure
SUBST_FILES.pthread= configure
SUBST_SED.pthread= -e 's|-lpthread||g'
+SUBST_NOOP_OK.pthread= yes # configure does not contain "pthread"
.include "options.mk"