summaryrefslogtreecommitdiff
path: root/databases/postgresql95
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-05-07 06:58:55 +0000
committernia <nia@pkgsrc.org>2021-05-07 06:58:55 +0000
commitafe90acf9889ac2f2d4709fd035d9c58b422a505 (patch)
tree37889221774bec1acf83659dce73c580ee49fe47 /databases/postgresql95
parent753fd4412ce759be398dd0adf8273ec0582d6e6e (diff)
downloadpkgsrc-afe90acf9889ac2f2d4709fd035d9c58b422a505.tar.gz
postgresql*: explicitly mark BROKEN on Alpha
Support for Alpha was removed in 2014. This removed the spinlock and memory barrier implementations, meaning Postgresql on Alpha no longer compiles cleanly with the default options. According to the commit message the code was "unlikely to currently work correctly". Enthusiasts may wish to re-add Alpha support, but it should likely only be done with proper testing to avoid data loss in the case someone uses it.
Diffstat (limited to 'databases/postgresql95')
-rw-r--r--databases/postgresql95/Makefile.common7
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/postgresql95/Makefile.common b/databases/postgresql95/Makefile.common
index ebc8aa25817..a3d408ea9f2 100644
--- a/databases/postgresql95/Makefile.common
+++ b/databases/postgresql95/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.37 2021/04/16 06:38:20 nia Exp $
+# $NetBSD: Makefile.common,v 1.38 2021/05/07 06:58:56 nia Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -84,6 +84,11 @@ CONFIGURE_ENV.SunOS+= ac_cv_header_sys_ucred_h=no
CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no
.endif
+# 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
+BROKEN_ON_PLATFORM+= *-*-alpha
+
# configure fails on OpenBSD and MirBSD if thread safety is enabled.
CONFIGURE_ARGS.MirBSD+= --disable-thread-safety
CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety