pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/postgresql17
Module Name: pkgsrc
Committed By: adam
Date: Tue Apr 8 07:28:06 UTC 2025
Modified Files:
pkgsrc/databases/postgresql17: Makefile.common options.mk
Log Message:
postgresql17: avoid -Werror-unguarded-availability-new; apply some pkglint suggestions
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/databases/postgresql17/Makefile.common
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/postgresql17/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/databases/postgresql17/Makefile.common
diff -u pkgsrc/databases/postgresql17/Makefile.common:1.8 pkgsrc/databases/postgresql17/Makefile.common:1.9
--- pkgsrc/databases/postgresql17/Makefile.common:1.8 Wed Apr 2 12:27:42 2025
+++ pkgsrc/databases/postgresql17/Makefile.common Tue Apr 8 07:28:06 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.8 2025/04/02 12:27:42 prlw1 Exp $
+# $NetBSD: Makefile.common,v 1.9 2025/04/08 07:28:06 adam Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -91,6 +91,9 @@ CONFIGURE_ENV.SunOS+= ac_cv_header_sys_u
CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no
.endif
+# Don't be to strict. Fixes build at least on macOS 15.4.
+CONFIGURE_ENV+= pgac_cv_prog_CC_cflags__Werror_unguarded_availability_new=no
+
# Postgres on Alpha has no spinlock or memory barrier implementation
# and is "unlikely to work correctly".
# https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org
Index: pkgsrc/databases/postgresql17/options.mk
diff -u pkgsrc/databases/postgresql17/options.mk:1.1 pkgsrc/databases/postgresql17/options.mk:1.2
--- pkgsrc/databases/postgresql17/options.mk:1.1 Fri Nov 8 13:43:36 2024
+++ pkgsrc/databases/postgresql17/options.mk Tue Apr 8 07:28:06 2025
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2024/11/08 13:43:36 adam Exp $
+# $NetBSD: options.mk,v 1.2 2025/04/08 07:28:06 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql17
PKG_SUPPORTED_OPTIONS= bonjour dtrace icu llvm gssapi ldap nls pam lz4
@@ -65,7 +65,7 @@ CONFIGURE_ARGS+= --with-ldap
.if !empty(PKG_OPTIONS:Mllvm)
. include "../../lang/llvm/buildlink3.mk"
CONFIGURE_ARGS+= --with-llvm
-CONFIGURE_ENV+= CLANG=${CC} # XXX: make it be better
+CONFIGURE_ENV+= CLANG=${CC:Q} # XXX: make it be better
PLIST.llvm= yes
.endif
@@ -83,7 +83,7 @@ CONFIGURE_ARGS+= --enable-nls
PLIST.nls= yes
BROKEN_GETTEXT_DETECTION= yes
. include "../../devel/gettext-lib/buildlink3.mk"
-. if !empty(USE_BUILTIN.gettext:M[nN][oO])
+. if ${USE_BUILTIN.gettext:tl} == no
CPPFLAGS+= -I${PREFIX}/include/gettext
. endif
.else
Home |
Main Index |
Thread Index |
Old Index