pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/unixodbc unixodbc: SunOS needs -D_POSIX_PTHR...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/72c403b5200f
branches:  trunk
changeset: 379206:72c403b5200f
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri May 13 06:45:11 2022 +0000

description:
unixodbc: SunOS needs -D_POSIX_PTHREAD_SEMANTICS.

diffstat:

 databases/unixodbc/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r e040cc8e123b -r 72c403b5200f databases/unixodbc/Makefile
--- a/databases/unixodbc/Makefile       Fri May 13 05:24:14 2022 +0000
+++ b/databases/unixodbc/Makefile       Fri May 13 06:45:11 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2022/05/09 11:16:27 adam Exp $
+# $NetBSD: Makefile,v 1.45 2022/05/13 06:45:11 jperkin Exp $
 
 DISTNAME=      unixODBC-2.3.11
 PKGNAME=       ${DISTNAME:S/ODBC/odbc/}
@@ -31,6 +31,7 @@
 CONFIGURE_ARGS+=       --with-pth=${PTHREADBASE:Q}
 .endif
 
+CFLAGS.SunOS+=         -D_POSIX_PTHREAD_SEMANTICS
 LIBS.SunOS+=           -lsocket -lnsl
 
 # Override the local definitions that point to the self-contained libtool



Home | Main Index | Thread Index | Old Index