pkgsrc-Changes archive

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

CVS commit: pkgsrc/print



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed May 11 16:21:51 UTC 2022

Modified Files:
        pkgsrc/print/cups-base: Makefile
        pkgsrc/print/libcups: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/print/cups-base/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/print/libcups/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/cups-base/Makefile
diff -u pkgsrc/print/cups-base/Makefile:1.47 pkgsrc/print/cups-base/Makefile:1.48
--- pkgsrc/print/cups-base/Makefile:1.47        Tue May 10 20:47:37 2022
+++ pkgsrc/print/cups-base/Makefile     Wed May 11 16:21:51 2022
@@ -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 @@ CONFIGURE_ENV+=               DSOFLAGS=${LDFLAGS:M*:Q
 # 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.

Index: pkgsrc/print/libcups/Makefile
diff -u pkgsrc/print/libcups/Makefile:1.15 pkgsrc/print/libcups/Makefile:1.16
--- pkgsrc/print/libcups/Makefile:1.15  Tue May 10 20:47:38 2022
+++ pkgsrc/print/libcups/Makefile       Wed May 11 16:21:51 2022
@@ -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 @@ BUILD_DEFS+=          VARBASE
 # 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