posgresql*: Restore MAKE_JOBS_SAFE=nodiff -r1.28 -r1.29 pkgsrc/databases/postgresql11/Makefile.common
(nia)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.28 2022/08/15 20:59:36 adam Exp $ | 1 | # $NetBSD: Makefile.common,v 1.29 2022/10/03 07:50:27 nia Exp $ | |
2 | # | 2 | # | |
3 | # This Makefile fragment is included by all PostgreSQL packages built from | 3 | # This Makefile fragment is included by all PostgreSQL packages built from | |
4 | # the main sources of the PostgreSQL distribution except jdbc-postgresql. | 4 | # the main sources of the PostgreSQL distribution except jdbc-postgresql. | |
5 | # | 5 | # | |
6 | # The PostgreSQL package naming scheme, aside from the obvious piecewise | 6 | # The PostgreSQL package naming scheme, aside from the obvious piecewise | |
7 | # packages, is as follows: | 7 | # packages, is as follows: | |
8 | # <lang>-postgresql client-side interface to PostgreSQL | 8 | # <lang>-postgresql client-side interface to PostgreSQL | |
9 | # postgresql-<lang> server-side module for PostgreSQL backend | 9 | # postgresql-<lang> server-side module for PostgreSQL backend | |
10 | # | 10 | # | |
11 | # used by databases/postgresql11-client/Makefile | 11 | # used by databases/postgresql11-client/Makefile | |
12 | # used by databases/postgresql11-contrib/Makefile | 12 | # used by databases/postgresql11-contrib/Makefile | |
13 | # used by databases/postgresql11-docs/Makefile | 13 | # used by databases/postgresql11-docs/Makefile | |
14 | # used by databases/postgresql11-plperl/Makefile | 14 | # used by databases/postgresql11-plperl/Makefile | |
@@ -78,26 +78,33 @@ CONFIGURE_ENV.SunOS+= ac_cv_header_sys_u | @@ -78,26 +78,33 @@ CONFIGURE_ENV.SunOS+= ac_cv_header_sys_u | |||
78 | # pkgsrc silently filters the --as-needed linker arg, but that makes | 78 | # pkgsrc silently filters the --as-needed linker arg, but that makes | |
79 | # it leak into the pgxs Makefiles and compromises manual building | 79 | # it leak into the pgxs Makefiles and compromises manual building | |
80 | # against PostgreSQL files installed. Disable it here to prevent | 80 | # against PostgreSQL files installed. Disable it here to prevent | |
81 | # that from happening. | 81 | # that from happening. | |
82 | .if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" | 82 | .if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" | |
83 | CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no | 83 | CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no | |
84 | .endif | 84 | .endif | |
85 | 85 | |||
86 | # Postgres on Alpha has no spinlock or memory barrier implementation | 86 | # Postgres on Alpha has no spinlock or memory barrier implementation | |
87 | # and is "unlikely to work correctly". | 87 | # and is "unlikely to work correctly". | |
88 | # https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org | 88 | # https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org | |
89 | BROKEN_ON_PLATFORM+= *-*-alpha | 89 | BROKEN_ON_PLATFORM+= *-*-alpha | |
90 | 90 | |||
91 | # Sporadic failures with a _high_ number of MAKE_JOBS: | |||
92 | # "fatal error: utils/errcodes.h: No such file or directory" | |||
93 | # Please override this locally if you can't reproduce it rather | |||
94 | # than removing MAKE_JOBS_SAFE, since this is necessary for | |||
95 | # bulk build stability. | |||
96 | MAKE_JOBS_SAFE= no | |||
97 | ||||
91 | .if ${MACHINE_ARCH} == "sparc" | 98 | .if ${MACHINE_ARCH} == "sparc" | |
92 | CFLAGS.NetBSD+= -D__sparc_v8__ | 99 | CFLAGS.NetBSD+= -D__sparc_v8__ | |
93 | .endif | 100 | .endif | |
94 | 101 | |||
95 | # configure fails on OpenBSD and MirBSD if thread safety is enabled. | 102 | # configure fails on OpenBSD and MirBSD if thread safety is enabled. | |
96 | CONFIGURE_ARGS.MirBSD+= --disable-thread-safety | 103 | CONFIGURE_ARGS.MirBSD+= --disable-thread-safety | |
97 | CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety | 104 | CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety | |
98 | 105 | |||
99 | # PGSQL_BLCKSZ is the size in bytes of a PostgreSQL disk page or block. | 106 | # PGSQL_BLCKSZ is the size in bytes of a PostgreSQL disk page or block. | |
100 | # This also limits the size of a tuple. The valid values are powers | 107 | # This also limits the size of a tuple. The valid values are powers | |
101 | # of 2 up to 32768, and the default size is 8196. Please don't change | 108 | # of 2 up to 32768, and the default size is 8196. Please don't change | |
102 | # this value unless you know what you are doing. | 109 | # this value unless you know what you are doing. | |
103 | BUILD_DEFS+= PGSQL_BLCKSZ | 110 | BUILD_DEFS+= PGSQL_BLCKSZ |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.21 2022/08/15 20:59:37 adam Exp $ | 1 | # $NetBSD: Makefile.common,v 1.22 2022/10/03 07:50:27 nia Exp $ | |
2 | # | 2 | # | |
3 | # This Makefile fragment is included by all PostgreSQL packages built from | 3 | # This Makefile fragment is included by all PostgreSQL packages built from | |
4 | # the main sources of the PostgreSQL distribution except jdbc-postgresql. | 4 | # the main sources of the PostgreSQL distribution except jdbc-postgresql. | |
5 | # | 5 | # | |
6 | # The PostgreSQL package naming scheme, aside from the obvious piecewise | 6 | # The PostgreSQL package naming scheme, aside from the obvious piecewise | |
7 | # packages, is as follows: | 7 | # packages, is as follows: | |
8 | # <lang>-postgresql client-side interface to PostgreSQL | 8 | # <lang>-postgresql client-side interface to PostgreSQL | |
9 | # postgresql-<lang> server-side module for PostgreSQL backend | 9 | # postgresql-<lang> server-side module for PostgreSQL backend | |
10 | # | 10 | # | |
11 | # used by databases/postgresql12-client/Makefile | 11 | # used by databases/postgresql12-client/Makefile | |
12 | # used by databases/postgresql12-contrib/Makefile | 12 | # used by databases/postgresql12-contrib/Makefile | |
13 | # used by databases/postgresql12-docs/Makefile | 13 | # used by databases/postgresql12-docs/Makefile | |
14 | # used by databases/postgresql12-plperl/Makefile | 14 | # used by databases/postgresql12-plperl/Makefile | |
@@ -78,26 +78,33 @@ CONFIGURE_ENV.SunOS+= ac_cv_header_sys_u | @@ -78,26 +78,33 @@ CONFIGURE_ENV.SunOS+= ac_cv_header_sys_u | |||
78 | # pkgsrc silently filters the --as-needed linker arg, but that makes | 78 | # pkgsrc silently filters the --as-needed linker arg, but that makes | |
79 | # it leak into the pgxs Makefiles and compromises manual building | 79 | # it leak into the pgxs Makefiles and compromises manual building | |
80 | # against PostgreSQL files installed. Disable it here to prevent | 80 | # against PostgreSQL files installed. Disable it here to prevent | |
81 | # that from happening. | 81 | # that from happening. | |
82 | .if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" | 82 | .if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" | |
83 | CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no | 83 | CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no | |
84 | .endif | 84 | .endif | |
85 | 85 | |||
86 | # Postgres on Alpha has no spinlock or memory barrier implementation | 86 | # Postgres on Alpha has no spinlock or memory barrier implementation | |
87 | # and is "unlikely to work correctly". | 87 | # and is "unlikely to work correctly". | |
88 | # https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org | 88 | # https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org | |
89 | BROKEN_ON_PLATFORM+= *-*-alpha | 89 | BROKEN_ON_PLATFORM+= *-*-alpha | |
90 | 90 | |||
91 | # Sporadic failures with a _high_ number of MAKE_JOBS: | |||
92 | # "fatal error: catalog/pg_type_d.h: No such file or directory" | |||
93 | # Please override this locally if you can't reproduce it rather | |||
94 | # than removing MAKE_JOBS_SAFE, since this is necessary for | |||
95 | # bulk build stability. | |||
96 | MAKE_JOBS_SAFE= no | |||
97 | ||||
91 | .if ${MACHINE_ARCH} == "sparc" | 98 | .if ${MACHINE_ARCH} == "sparc" | |
92 | CFLAGS.NetBSD+= -D__sparc_v8__ | 99 | CFLAGS.NetBSD+= -D__sparc_v8__ | |
93 | .endif | 100 | .endif | |
94 | 101 | |||
95 | # configure fails on OpenBSD and MirBSD if thread safety is enabled. | 102 | # configure fails on OpenBSD and MirBSD if thread safety is enabled. | |
96 | CONFIGURE_ARGS.MirBSD+= --disable-thread-safety | 103 | CONFIGURE_ARGS.MirBSD+= --disable-thread-safety | |
97 | CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety | 104 | CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety | |
98 | 105 | |||
99 | # PGSQL_BLCKSZ is the size in bytes of a PostgreSQL disk page or block. | 106 | # PGSQL_BLCKSZ is the size in bytes of a PostgreSQL disk page or block. | |
100 | # This also limits the size of a tuple. The valid values are powers | 107 | # This also limits the size of a tuple. The valid values are powers | |
101 | # of 2 up to 32768, and the default size is 8196. Please don't change | 108 | # of 2 up to 32768, and the default size is 8196. Please don't change | |
102 | # this value unless you know what you are doing. | 109 | # this value unless you know what you are doing. | |
103 | BUILD_DEFS+= PGSQL_BLCKSZ | 110 | BUILD_DEFS+= PGSQL_BLCKSZ |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.14 2022/08/15 20:59:38 adam Exp $ | 1 | # $NetBSD: Makefile.common,v 1.15 2022/10/03 07:50:27 nia Exp $ | |
2 | # | 2 | # | |
3 | # This Makefile fragment is included by all PostgreSQL packages built from | 3 | # This Makefile fragment is included by all PostgreSQL packages built from | |
4 | # the main sources of the PostgreSQL distribution except jdbc-postgresql. | 4 | # the main sources of the PostgreSQL distribution except jdbc-postgresql. | |
5 | # | 5 | # | |
6 | # The PostgreSQL package naming scheme, aside from the obvious piecewise | 6 | # The PostgreSQL package naming scheme, aside from the obvious piecewise | |
7 | # packages, is as follows: | 7 | # packages, is as follows: | |
8 | # <lang>-postgresql client-side interface to PostgreSQL | 8 | # <lang>-postgresql client-side interface to PostgreSQL | |
9 | # postgresql-<lang> server-side module for PostgreSQL backend | 9 | # postgresql-<lang> server-side module for PostgreSQL backend | |
10 | # | 10 | # | |
11 | # used by databases/postgresql13-client/Makefile | 11 | # used by databases/postgresql13-client/Makefile | |
12 | # used by databases/postgresql13-contrib/Makefile | 12 | # used by databases/postgresql13-contrib/Makefile | |
13 | # used by databases/postgresql13-docs/Makefile | 13 | # used by databases/postgresql13-docs/Makefile | |
14 | # used by databases/postgresql13-plperl/Makefile | 14 | # used by databases/postgresql13-plperl/Makefile | |
@@ -78,26 +78,33 @@ CONFIGURE_ENV.SunOS+= ac_cv_header_sys_u | @@ -78,26 +78,33 @@ CONFIGURE_ENV.SunOS+= ac_cv_header_sys_u | |||
78 | # pkgsrc silently filters the --as-needed linker arg, but that makes | 78 | # pkgsrc silently filters the --as-needed linker arg, but that makes | |
79 | # it leak into the pgxs Makefiles and compromises manual building | 79 | # it leak into the pgxs Makefiles and compromises manual building | |
80 | # against PostgreSQL files installed. Disable it here to prevent | 80 | # against PostgreSQL files installed. Disable it here to prevent | |
81 | # that from happening. | 81 | # that from happening. | |
82 | .if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" | 82 | .if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" | |
83 | CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no | 83 | CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no | |
84 | .endif | 84 | .endif | |
85 | 85 | |||
86 | # Postgres on Alpha has no spinlock or memory barrier implementation | 86 | # Postgres on Alpha has no spinlock or memory barrier implementation | |
87 | # and is "unlikely to work correctly". | 87 | # and is "unlikely to work correctly". | |
88 | # https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org | 88 | # https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org | |
89 | BROKEN_ON_PLATFORM+= *-*-alpha | 89 | BROKEN_ON_PLATFORM+= *-*-alpha | |
90 | 90 | |||
91 | # Sporadic failures with a _high_ number of MAKE_JOBS: | |||
92 | # "ld: cannot find -lpgfeutils" | |||
93 | # Please override this locally if you can't reproduce it rather | |||
94 | # than removing MAKE_JOBS_SAFE, since this is necessary for | |||
95 | # bulk build stability. | |||
96 | MAKE_JOBS_SAFE= no | |||
97 | ||||
91 | .if ${MACHINE_ARCH} == "sparc" | 98 | .if ${MACHINE_ARCH} == "sparc" | |
92 | CFLAGS.NetBSD+= -D__sparc_v8__ | 99 | CFLAGS.NetBSD+= -D__sparc_v8__ | |
93 | .endif | 100 | .endif | |
94 | 101 | |||
95 | # configure fails on OpenBSD and MirBSD if thread safety is enabled. | 102 | # configure fails on OpenBSD and MirBSD if thread safety is enabled. | |
96 | CONFIGURE_ARGS.MirBSD+= --disable-thread-safety | 103 | CONFIGURE_ARGS.MirBSD+= --disable-thread-safety | |
97 | CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety | 104 | CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety | |
98 | 105 | |||
99 | # PGSQL_BLCKSZ is the size in bytes of a PostgreSQL disk page or block. | 106 | # PGSQL_BLCKSZ is the size in bytes of a PostgreSQL disk page or block. | |
100 | # This also limits the size of a tuple. The valid values are powers | 107 | # This also limits the size of a tuple. The valid values are powers | |
101 | # of 2 up to 32768, and the default size is 8196. Please don't change | 108 | # of 2 up to 32768, and the default size is 8196. Please don't change | |
102 | # this value unless you know what you are doing. | 109 | # this value unless you know what you are doing. | |
103 | BUILD_DEFS+= PGSQL_BLCKSZ | 110 | BUILD_DEFS+= PGSQL_BLCKSZ |