Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/x11vnc x11/x11vnc: allow no-op SUBST block for pth...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bca3e701e3d8
branches:  trunk
changeset: 430596:bca3e701e3d8
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat May 02 10:24:58 2020 +0000

description:
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.

diffstat:

 x11/x11vnc/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r a7135f943e36 -r bca3e701e3d8 x11/x11vnc/Makefile
--- a/x11/x11vnc/Makefile       Sat May 02 10:24:50 2020 +0000
+++ b/x11/x11vnc/Makefile       Sat May 02 10:24:58 2020 +0000
@@ -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_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"
 



Home | Main Index | Thread Index | Old Index