pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print cups: SunOS now requires -D_POSIX_PTHREAD_SEMANT...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c14e70209a25
branches: trunk
changeset: 379107:c14e70209a25
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Wed May 11 16:21:51 2022 +0000
description:
cups: SunOS now requires -D_POSIX_PTHREAD_SEMANTICS.
There's a lot of duplication between these two packages that should probably
be merged into Makefile.common.
diffstat:
print/cups-base/Makefile | 4 +++-
print/libcups/Makefile | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r 4944811a176a -r c14e70209a25 print/cups-base/Makefile
--- a/print/cups-base/Makefile Wed May 11 15:12:25 2022 +0000
+++ b/print/cups-base/Makefile Wed May 11 16:21:51 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2022/05/10 20:47:37 markd Exp $
+# $NetBSD: Makefile,v 1.48 2022/05/11 16:21:51 jperkin Exp $
.include "../../print/cups/Makefile.common"
@@ -43,6 +43,8 @@
# Explicitly disable epoll on illumos, it is provided for Linux compat only.
CONFIGURE_ENV.SunOS+= ac_cv_func_epoll_create=no
+CFLAGS.SunOS+= -D_POSIX_PTHREAD_SEMANTICS
+
LIBS+= ${BUILDLINK_LDADD.iconv}
# Avoid the following error when compiling with clang.
diff -r 4944811a176a -r c14e70209a25 print/libcups/Makefile
--- a/print/libcups/Makefile Wed May 11 15:12:25 2022 +0000
+++ b/print/libcups/Makefile Wed May 11 16:21:51 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2022/05/10 20:47:38 markd Exp $
+# $NetBSD: Makefile,v 1.16 2022/05/11 16:21:51 jperkin Exp $
.include "../../print/cups/Makefile.common"
@@ -43,6 +43,8 @@
# Explicitly disable epoll on illumos, it is provided for Linux compat only.
CONFIGURE_ENV.SunOS+= ac_cv_func_epoll_create=no
+CFLAGS.SunOS+= -D_POSIX_PTHREAD_SEMANTICS
+
LIBS+= ${BUILDLINK_LDADD.iconv}
# Avoid the following error when compiling with clang.
Home |
Main Index |
Thread Index |
Old Index