pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/gtar-base On OpenBSD, "code using the sigwai...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d22438a722fb
branches:  trunk
changeset: 390220:d22438a722fb
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Thu Jan 17 16:43:36 2019 +0000

description:
On OpenBSD, "code using the sigwait() function must be compiled and
linked with the -pthread option".

diffstat:

 archivers/gtar-base/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r a162e2922b6d -r d22438a722fb archivers/gtar-base/Makefile
--- a/archivers/gtar-base/Makefile      Thu Jan 17 16:35:58 2019 +0000
+++ b/archivers/gtar-base/Makefile      Thu Jan 17 16:43:36 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.93 2018/03/11 17:28:08 wiz Exp $
+# $NetBSD: Makefile,v 1.94 2019/01/17 16:43:36 schmonz Exp $
 
 .include "../../archivers/gtar/Makefile.common"
 
@@ -48,6 +48,10 @@
 
 CPPFLAGS.MirBSD+=      -Dstrtoimax=strtoll -Dstrtoumax=strtoull
 
+# From sigwait(3):
+CFLAGS.OpenBSD+=       -pthread
+LDFLAGS.OpenBSD+=      -pthread
+
 #bug 20453 in bug-gzip list, passed onto gnulib
 CONFIGURE_ENV.AIX+=    ac_cv_header_wctype_h=no
 



Home | Main Index | Thread Index | Old Index