Gentoo Archives: gentoo-commits

From: Aaron Swenson <titanofold@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/postgresql/, dev-db/postgresql/files/
Date: Fri, 28 Oct 2016 16:16:03
Message-Id: 1477671347.d10f1bdd33c918e33ce8a69c6214810a1cb31d04.titanofold@gentoo
1 commit: d10f1bdd33c918e33ce8a69c6214810a1cb31d04
2 Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 28 16:15:05 2016 +0000
4 Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 28 16:15:47 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d10f1bdd
7
8 dev-db/postgresql: Fix broken/improve no-server patches
9
10 9.4 and 9.5 had a small change to a section that is modified by the
11 patch, thus causing failure.
12
13 Further, pgbench was added back in as it is a client program that does
14 not need the server to be on the same machine.
15
16 Lastly, the 9.6 no-server patch was incomplete and allowed the entire
17 backend to be built when only the headers are needed…theoretically.
18
19 Package-Manager: portage-2.2.28
20
21 .../files/postgresql-9.4.10-no-server.patch | 151 +++++++++++++++++++++
22 .../files/postgresql-9.5.5-no-server.patch | 151 +++++++++++++++++++++
23 .../files/postgresql-9.6.1-no-server.patch | 130 ++++++++++++++++++
24 dev-db/postgresql/postgresql-9.4.10.ebuild | 2 +-
25 dev-db/postgresql/postgresql-9.5.5.ebuild | 2 +-
26 ...sql-9.5.5.ebuild => postgresql-9.6.1-r1.ebuild} | 13 +-
27 6 files changed, 439 insertions(+), 10 deletions(-)
28
29 diff --git a/dev-db/postgresql/files/postgresql-9.4.10-no-server.patch b/dev-db/postgresql/files/postgresql-9.4.10-no-server.patch
30 new file mode 100644
31 index 00000000..81fc383
32 --- /dev/null
33 +++ b/dev-db/postgresql/files/postgresql-9.4.10-no-server.patch
34 @@ -0,0 +1,151 @@
35 +diff -Naruw a/contrib/Makefile b/contrib/Makefile
36 +--- a/contrib/Makefile 2016-10-24 16:12:53.000000000 -0400
37 ++++ b/contrib/Makefile 2016-10-27 13:38:23.361545396 -0400
38 +@@ -5,64 +5,10 @@
39 + include $(top_builddir)/src/Makefile.global
40 +
41 + SUBDIRS = \
42 +- adminpack \
43 +- auth_delay \
44 +- auto_explain \
45 +- btree_gin \
46 +- btree_gist \
47 +- chkpass \
48 +- citext \
49 +- cube \
50 +- dblink \
51 +- dict_int \
52 +- dict_xsyn \
53 +- dummy_seclabel \
54 +- earthdistance \
55 +- file_fdw \
56 +- fuzzystrmatch \
57 +- hstore \
58 +- intagg \
59 +- intarray \
60 +- isn \
61 +- lo \
62 +- ltree \
63 + oid2name \
64 +- pageinspect \
65 +- passwordcheck \
66 +- pg_archivecleanup \
67 +- pg_buffercache \
68 +- pg_freespacemap \
69 +- pg_prewarm \
70 +- pg_standby \
71 +- pg_stat_statements \
72 +- pg_test_fsync \
73 +- pg_test_timing \
74 +- pg_trgm \
75 +- pg_upgrade \
76 +- pg_upgrade_support \
77 + pgbench \
78 +- pgcrypto \
79 +- pgrowlocks \
80 +- pgstattuple \
81 +- pg_xlogdump \
82 +- postgres_fdw \
83 +- seg \
84 +- spi \
85 +- tablefunc \
86 +- tcn \
87 +- test_decoding \
88 +- test_parser \
89 +- test_shm_mq \
90 +- tsearch2 \
91 +- unaccent \
92 +- vacuumlo \
93 +- worker_spi
94 ++ vacuumlo
95 +
96 +-ifeq ($(with_openssl),yes)
97 +-SUBDIRS += sslinfo
98 +-else
99 +-ALWAYS_SUBDIRS += sslinfo
100 +-endif
101 +
102 + ifneq ($(with_uuid),no)
103 + SUBDIRS += uuid-ossp
104 +diff -Naruw a/src/backend/Makefile b/src/backend/Makefile
105 +--- a/src/backend/Makefile 2016-10-24 16:12:53.000000000 -0400
106 ++++ b/src/backend/Makefile 2016-10-27 14:04:47.617000374 -0400
107 +@@ -47,7 +47,7 @@
108 +
109 + ##########################################################################
110 +
111 +-all: submake-libpgport submake-schemapg postgres $(POSTGRES_IMP)
112 ++all: someheaders
113 +
114 + ifneq ($(PORTNAME), cygwin)
115 + ifneq ($(PORTNAME), win32)
116 +@@ -106,7 +106,7 @@
117 + endif # aix
118 +
119 + # Update the commonly used headers before building the subdirectories
120 +-$(SUBDIRS:%=%-recursive): $(top_builddir)/src/include/parser/gram.h $(top_builddir)/src/include/catalog/schemapg.h $(top_builddir)/src/include/utils/fmgroids.h $(top_builddir)/src/include/utils/errcodes.h $(top_builddir)/src/include/utils/probes.h
121 ++someheaders $(SUBDIRS:%=%-recursive): $(top_builddir)/src/include/parser/gram.h $(top_builddir)/src/include/catalog/schemapg.h $(top_builddir)/src/include/utils/fmgroids.h $(top_builddir)/src/include/utils/errcodes.h $(top_builddir)/src/include/utils/probes.h
122 +
123 + # run this unconditionally to avoid needing to know its dependencies here:
124 + submake-schemapg:
125 +@@ -199,23 +199,7 @@
126 +
127 + ##########################################################################
128 +
129 +-install: all installdirs install-bin
130 +-ifeq ($(PORTNAME), cygwin)
131 +-ifeq ($(MAKE_DLL), true)
132 +- $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a'
133 +-endif
134 +-endif
135 +-ifeq ($(PORTNAME), win32)
136 +-ifeq ($(MAKE_DLL), true)
137 +- $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a'
138 +-endif
139 +-endif
140 +- $(MAKE) -C catalog install-data
141 +- $(MAKE) -C tsearch install-data
142 +- $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample '$(DESTDIR)$(datadir)/pg_hba.conf.sample'
143 +- $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample '$(DESTDIR)$(datadir)/pg_ident.conf.sample'
144 +- $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample '$(DESTDIR)$(datadir)/postgresql.conf.sample'
145 +- $(INSTALL_DATA) $(srcdir)/access/transam/recovery.conf.sample '$(DESTDIR)$(datadir)/recovery.conf.sample'
146 ++install:
147 +
148 + install-bin: postgres $(POSTGRES_IMP) installdirs
149 + $(INSTALL_PROGRAM) postgres$(X) '$(DESTDIR)$(bindir)/postgres$(X)'
150 +diff -Naruw a/src/bin/Makefile b/src/bin/Makefile
151 +--- a/src/bin/Makefile 2016-10-24 16:12:53.000000000 -0400
152 ++++ b/src/bin/Makefile 2016-10-27 13:41:34.443930143 -0400
153 +@@ -13,8 +13,7 @@
154 + top_builddir = ../..
155 + include $(top_builddir)/src/Makefile.global
156 +
157 +-SUBDIRS = initdb pg_ctl pg_dump \
158 +- psql scripts pg_config pg_controldata pg_resetxlog pg_basebackup
159 ++SUBDIRS = pg_dump psql scripts pg_config
160 +
161 + ifeq ($(PORTNAME), win32)
162 + SUBDIRS += pgevent
163 +diff -Naruw a/src/Makefile b/src/Makefile
164 +--- a/src/Makefile 2016-10-24 16:12:53.000000000 -0400
165 ++++ b/src/Makefile 2016-10-27 13:43:09.296792018 -0400
166 +@@ -15,18 +15,11 @@
167 + SUBDIRS = \
168 + common \
169 + port \
170 +- timezone \
171 + backend \
172 +- backend/utils/mb/conversion_procs \
173 +- backend/snowball \
174 + include \
175 + interfaces \
176 +- backend/replication/libpqwalreceiver \
177 + bin \
178 +- pl \
179 +- makefiles \
180 +- test/regress \
181 +- test/perl
182 ++ makefiles
183 +
184 + # There are too many interdependencies between the subdirectories, so
185 + # don't attempt parallel make here.
186
187 diff --git a/dev-db/postgresql/files/postgresql-9.5.5-no-server.patch b/dev-db/postgresql/files/postgresql-9.5.5-no-server.patch
188 new file mode 100644
189 index 00000000..2856678
190 --- /dev/null
191 +++ b/dev-db/postgresql/files/postgresql-9.5.5-no-server.patch
192 @@ -0,0 +1,151 @@
193 +diff -Naruw postgresql-9.5.5.orig/contrib/Makefile postgresql-9.5.5/contrib/Makefile
194 +--- postgresql-9.5.5.orig/contrib/Makefile 2016-10-24 16:10:50.000000000 -0400
195 ++++ postgresql-9.5.5/contrib/Makefile 2016-10-27 13:49:19.418285694 -0400
196 +@@ -5,55 +5,9 @@
197 + include $(top_builddir)/src/Makefile.global
198 +
199 + SUBDIRS = \
200 +- adminpack \
201 +- auth_delay \
202 +- auto_explain \
203 +- btree_gin \
204 +- btree_gist \
205 +- chkpass \
206 +- citext \
207 +- cube \
208 +- dblink \
209 +- dict_int \
210 +- dict_xsyn \
211 +- earthdistance \
212 +- file_fdw \
213 +- fuzzystrmatch \
214 +- hstore \
215 +- intagg \
216 +- intarray \
217 +- isn \
218 +- lo \
219 +- ltree \
220 + oid2name \
221 +- pageinspect \
222 +- passwordcheck \
223 +- pg_buffercache \
224 +- pg_freespacemap \
225 +- pg_prewarm \
226 +- pg_standby \
227 +- pg_stat_statements \
228 +- pg_trgm \
229 +- pgcrypto \
230 +- pgrowlocks \
231 +- pgstattuple \
232 +- postgres_fdw \
233 +- seg \
234 +- spi \
235 +- tablefunc \
236 +- tcn \
237 +- test_decoding \
238 +- tsm_system_rows \
239 +- tsm_system_time \
240 +- tsearch2 \
241 +- unaccent \
242 + vacuumlo
243 +
244 +-ifeq ($(with_openssl),yes)
245 +-SUBDIRS += sslinfo
246 +-else
247 +-ALWAYS_SUBDIRS += sslinfo
248 +-endif
249 +
250 + ifneq ($(with_uuid),no)
251 + SUBDIRS += uuid-ossp
252 +diff -Naruw postgresql-9.5.5.orig/src/backend/Makefile postgresql-9.5.5/src/backend/Makefile
253 +--- postgresql-9.5.5.orig/src/backend/Makefile 2016-10-24 16:10:50.000000000 -0400
254 ++++ postgresql-9.5.5/src/backend/Makefile 2016-10-27 13:51:16.027706097 -0400
255 +@@ -47,7 +47,7 @@
256 +
257 + ##########################################################################
258 +
259 +-all: submake-libpgport submake-schemapg postgres $(POSTGRES_IMP)
260 ++all: someheaders
261 +
262 + ifneq ($(PORTNAME), cygwin)
263 + ifneq ($(PORTNAME), win32)
264 +@@ -106,7 +106,7 @@
265 + endif # aix
266 +
267 + # Update the commonly used headers before building the subdirectories
268 +-$(SUBDIRS:%=%-recursive): $(top_builddir)/src/include/parser/gram.h $(top_builddir)/src/include/catalog/schemapg.h $(top_builddir)/src/include/utils/fmgroids.h $(top_builddir)/src/include/utils/errcodes.h $(top_builddir)/src/include/utils/probes.h
269 ++someheaders $(SUBDIRS:%=%-recursive): $(top_builddir)/src/include/parser/gram.h $(top_builddir)/src/include/catalog/schemapg.h $(top_builddir)/src/include/utils/fmgroids.h $(top_builddir)/src/include/utils/errcodes.h $(top_builddir)/src/include/utils/probes.h
270 +
271 + # run this unconditionally to avoid needing to know its dependencies here:
272 + submake-schemapg:
273 +@@ -199,23 +199,7 @@
274 +
275 + ##########################################################################
276 +
277 +-install: all installdirs install-bin
278 +-ifeq ($(PORTNAME), cygwin)
279 +-ifeq ($(MAKE_DLL), true)
280 +- $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a'
281 +-endif
282 +-endif
283 +-ifeq ($(PORTNAME), win32)
284 +-ifeq ($(MAKE_DLL), true)
285 +- $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a'
286 +-endif
287 +-endif
288 +- $(MAKE) -C catalog install-data
289 +- $(MAKE) -C tsearch install-data
290 +- $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample '$(DESTDIR)$(datadir)/pg_hba.conf.sample'
291 +- $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample '$(DESTDIR)$(datadir)/pg_ident.conf.sample'
292 +- $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample '$(DESTDIR)$(datadir)/postgresql.conf.sample'
293 +- $(INSTALL_DATA) $(srcdir)/access/transam/recovery.conf.sample '$(DESTDIR)$(datadir)/recovery.conf.sample'
294 ++install:
295 +
296 + install-bin: postgres $(POSTGRES_IMP) installdirs
297 + $(INSTALL_PROGRAM) postgres$(X) '$(DESTDIR)$(bindir)/postgres$(X)'
298 +diff -Naruw postgresql-9.5.5.orig/src/bin/Makefile postgresql-9.5.5/src/bin/Makefile
299 +--- postgresql-9.5.5.orig/src/bin/Makefile 2016-10-24 16:10:50.000000000 -0400
300 ++++ postgresql-9.5.5/src/bin/Makefile 2016-10-27 14:26:26.397161219 -0400
301 +@@ -14,19 +14,8 @@
302 + include $(top_builddir)/src/Makefile.global
303 +
304 + SUBDIRS = \
305 +- initdb \
306 +- pg_archivecleanup \
307 +- pg_basebackup \
308 + pg_config \
309 +- pg_controldata \
310 +- pg_ctl \
311 + pg_dump \
312 +- pg_resetxlog \
313 +- pg_rewind \
314 +- pg_test_fsync \
315 +- pg_test_timing \
316 +- pg_upgrade \
317 +- pg_xlogdump \
318 + pgbench \
319 + psql \
320 + scripts
321 +diff -Naruw postgresql-9.5.5.orig/src/Makefile postgresql-9.5.5/src/Makefile
322 +--- postgresql-9.5.5.orig/src/Makefile 2016-10-24 16:10:50.000000000 -0400
323 ++++ postgresql-9.5.5/src/Makefile 2016-10-27 14:03:49.513956432 -0400
324 +@@ -15,18 +15,11 @@
325 + SUBDIRS = \
326 + common \
327 + port \
328 +- timezone \
329 + backend \
330 +- backend/utils/mb/conversion_procs \
331 +- backend/snowball \
332 + include \
333 + interfaces \
334 +- backend/replication/libpqwalreceiver \
335 + bin \
336 +- pl \
337 +- makefiles \
338 +- test/regress \
339 +- test/perl
340 ++ makefiles
341 +
342 + # There are too many interdependencies between the subdirectories, so
343 + # don't attempt parallel make here.
344
345 diff --git a/dev-db/postgresql/files/postgresql-9.6.1-no-server.patch b/dev-db/postgresql/files/postgresql-9.6.1-no-server.patch
346 new file mode 100644
347 index 00000000..868567c
348 --- /dev/null
349 +++ b/dev-db/postgresql/files/postgresql-9.6.1-no-server.patch
350 @@ -0,0 +1,130 @@
351 +diff -Naruw a/contrib/Makefile b/contrib/Makefile
352 +--- a/contrib/Makefile 2016-10-24 16:08:51.000000000 -0400
353 ++++ b/contrib/Makefile 2016-10-28 11:41:00.450589656 -0400
354 +@@ -5,58 +5,9 @@
355 + include $(top_builddir)/src/Makefile.global
356 +
357 + SUBDIRS = \
358 +- adminpack \
359 +- auth_delay \
360 +- auto_explain \
361 +- bloom \
362 +- btree_gin \
363 +- btree_gist \
364 +- chkpass \
365 +- citext \
366 +- cube \
367 +- dblink \
368 +- dict_int \
369 +- dict_xsyn \
370 +- earthdistance \
371 +- file_fdw \
372 +- fuzzystrmatch \
373 +- hstore \
374 +- intagg \
375 +- intarray \
376 +- isn \
377 +- lo \
378 +- ltree \
379 + oid2name \
380 +- pageinspect \
381 +- passwordcheck \
382 +- pg_buffercache \
383 +- pg_freespacemap \
384 +- pg_prewarm \
385 +- pg_standby \
386 +- pg_stat_statements \
387 +- pg_trgm \
388 +- pgcrypto \
389 +- pgrowlocks \
390 +- pgstattuple \
391 +- pg_visibility \
392 +- postgres_fdw \
393 +- seg \
394 +- spi \
395 +- tablefunc \
396 +- tcn \
397 +- test_decoding \
398 +- tsm_system_rows \
399 +- tsm_system_time \
400 +- tsearch2 \
401 +- unaccent \
402 + vacuumlo
403 +
404 +-ifeq ($(with_openssl),yes)
405 +-SUBDIRS += sslinfo
406 +-else
407 +-ALWAYS_SUBDIRS += sslinfo
408 +-endif
409 +-
410 + ifneq ($(with_uuid),no)
411 + SUBDIRS += uuid-ossp
412 + else
413 +diff -Naruw a/src/backend/Makefile b/src/backend/Makefile
414 +--- a/src/backend/Makefile 2016-10-24 16:08:51.000000000 -0400
415 ++++ b/src/backend/Makefile 2016-10-28 11:48:58.571353118 -0400
416 +@@ -51,7 +51,7 @@
417 +
418 + ##########################################################################
419 +
420 +-all: submake-libpgport submake-schemapg postgres $(POSTGRES_IMP)
421 ++all: someheaders
422 +
423 + ifneq ($(PORTNAME), cygwin)
424 + ifneq ($(PORTNAME), win32)
425 +@@ -110,7 +110,7 @@
426 + endif # aix
427 +
428 + # Update the commonly used headers before building the subdirectories
429 +-$(SUBDIRS:%=%-recursive): | generated-headers
430 ++someheaders $(SUBDIRS:%=%-recursive): | generated-headers
431 +
432 + # src/port needs a convenient way to force just errcodes.h to get built
433 + submake-errcodes: $(top_builddir)/src/include/utils/errcodes.h
434 +diff -Naruw a/src/bin/Makefile b/src/bin/Makefile
435 +--- a/src/bin/Makefile 2016-10-24 16:08:51.000000000 -0400
436 ++++ b/src/bin/Makefile 2016-10-28 11:42:26.000129832 -0400
437 +@@ -14,19 +14,8 @@
438 + include $(top_builddir)/src/Makefile.global
439 +
440 + SUBDIRS = \
441 +- initdb \
442 +- pg_archivecleanup \
443 +- pg_basebackup \
444 + pg_config \
445 +- pg_controldata \
446 +- pg_ctl \
447 + pg_dump \
448 +- pg_resetxlog \
449 +- pg_rewind \
450 +- pg_test_fsync \
451 +- pg_test_timing \
452 +- pg_upgrade \
453 +- pg_xlogdump \
454 + pgbench \
455 + psql \
456 + scripts
457 +diff -Naruw a/src/Makefile b/src/Makefile
458 +--- a/src/Makefile 2016-10-24 16:08:51.000000000 -0400
459 ++++ b/src/Makefile 2016-10-28 11:41:00.453922971 -0400
460 +@@ -15,19 +15,11 @@
461 + SUBDIRS = \
462 + common \
463 + port \
464 +- timezone \
465 + backend \
466 +- backend/utils/mb/conversion_procs \
467 +- backend/snowball \
468 + include \
469 + interfaces \
470 +- backend/replication/libpqwalreceiver \
471 +- fe_utils \
472 + bin \
473 +- pl \
474 +- makefiles \
475 +- test/regress \
476 +- test/perl
477 ++ makefiles
478 +
479 + # There are too many interdependencies between the subdirectories, so
480 + # don't attempt parallel make here.
481
482 diff --git a/dev-db/postgresql/postgresql-9.4.10.ebuild b/dev-db/postgresql/postgresql-9.4.10.ebuild
483 index 42b20ad..8882ffc 100644
484 --- a/dev-db/postgresql/postgresql-9.4.10.ebuild
485 +++ b/dev-db/postgresql/postgresql-9.4.10.ebuild
486 @@ -117,7 +117,7 @@ src_prepare() {
487 # hardened and non-hardened environments. (Bug #528786)
488 sed 's/@install_bin@/install -c/' -i src/Makefile.global.in || die
489
490 - use server || epatch "${FILESDIR}/${PN}-${SLOT}-no-server.patch"
491 + use server || epatch "${FILESDIR}/${PN}-9.4.10-no-server.patch"
492
493 # Fix bug 486556 where the server would crash at start up because of
494 # an infinite loop caused by a self-referencing symlink.
495
496 diff --git a/dev-db/postgresql/postgresql-9.5.5.ebuild b/dev-db/postgresql/postgresql-9.5.5.ebuild
497 index 886d41c..2a094d5 100644
498 --- a/dev-db/postgresql/postgresql-9.5.5.ebuild
499 +++ b/dev-db/postgresql/postgresql-9.5.5.ebuild
500 @@ -117,7 +117,7 @@ src_prepare() {
501 # hardened and non-hardened environments. (Bug #528786)
502 sed 's/@install_bin@/install -c/' -i src/Makefile.global.in || die
503
504 - use server || epatch "${FILESDIR}/${PN}-${SLOT}-no-server.patch"
505 + use server || epatch "${FILESDIR}/${PN}-9.5.5-no-server.patch"
506
507 # Fix bug 486556 where the server would crash at start up because of
508 # an infinite loop caused by a self-referencing symlink.
509
510 diff --git a/dev-db/postgresql/postgresql-9.5.5.ebuild b/dev-db/postgresql/postgresql-9.6.1-r1.ebuild
511 similarity index 97%
512 copy from dev-db/postgresql/postgresql-9.5.5.ebuild
513 copy to dev-db/postgresql/postgresql-9.6.1-r1.ebuild
514 index 886d41c..1f7b879 100644
515 --- a/dev-db/postgresql/postgresql-9.5.5.ebuild
516 +++ b/dev-db/postgresql/postgresql-9.6.1-r1.ebuild
517 @@ -13,7 +13,10 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~spa
518
519 SLOT="$(get_version_component_range 1-2)"
520
521 -SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
522 +MY_PV=${PV/_/}
523 +S="${WORKDIR}/${PN}-${MY_PV}"
524 +
525 +SRC_URI="mirror://postgresql/source/v${MY_PV}/postgresql-${MY_PV}.tar.bz2"
526
527 LICENSE="POSTGRESQL GPL-2"
528 DESCRIPTION="PostgreSQL RDBMS"
529 @@ -117,7 +120,7 @@ src_prepare() {
530 # hardened and non-hardened environments. (Bug #528786)
531 sed 's/@install_bin@/install -c/' -i src/Makefile.global.in || die
532
533 - use server || epatch "${FILESDIR}/${PN}-${SLOT}-no-server.patch"
534 + use server || epatch "${FILESDIR}/${PN}-${SLOT}.1-no-server.patch"
535
536 # Fix bug 486556 where the server would crash at start up because of
537 # an infinite loop caused by a self-referencing symlink.
538 @@ -163,7 +166,6 @@ src_configure() {
539 --mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
540 --sysconfdir="${PO}/etc/postgresql-${SLOT}" \
541 --with-system-tzdata="${PO}/usr/share/zoneinfo" \
542 - $(use_enable !alpha spinlocks) \
543 $(use_enable !pg_legacytimestamp integer-datetimes) \
544 $(use_enable threads thread-safety) \
545 $(use_with kerberos gssapi) \
546 @@ -248,11 +250,6 @@ src_install() {
547 pkg_postinst() {
548 postgresql-config update
549
550 - if use alpha && use server ; then
551 - ewarn "PostgreSQL 9.5+ no longer has native spinlock support on Alpha platforms."
552 - ewarn "As a result, performance will be extremely degraded."
553 - fi
554 -
555 elog "If you need a global psqlrc-file, you can place it in:"
556 elog " ${EROOT%/}/etc/postgresql-${SLOT}/"