diff options
author | jperkin <jperkin@pkgsrc.org> | 2022-05-11 16:21:51 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2022-05-11 16:21:51 +0000 |
commit | ed24485947ee4d97442fc0da54a76f1cbb441b10 (patch) | |
tree | a29dbc2c724f5ed5e08e153f0e89b751123aee29 /print | |
parent | c3f7863fd41824866c3eaa410a498ca5d582a983 (diff) | |
download | pkgsrc-ed24485947ee4d97442fc0da54a76f1cbb441b10.tar.gz |
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 (limited to 'print')
-rw-r--r-- | print/cups-base/Makefile | 4 | ||||
-rw-r--r-- | print/libcups/Makefile | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile index ddbcf3f5078..1d595bd8308 100644 --- a/print/cups-base/Makefile +++ b/print/cups-base/Makefile @@ -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. diff --git a/print/libcups/Makefile b/print/libcups/Makefile index dc388570394..7401011e9ec 100644 --- a/print/libcups/Makefile +++ b/print/libcups/Makefile @@ -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. |