titanofold    14/11/01 11:29:06

  Added:                postgresql-9.1-no-server.patch
                        postgresql-9.2-no-server.patch
                        postgresql-9.0-no-server.patch
                        pg_ctl-exit-status.patch
                        postgresql-9.3-no-server.patch
                        postgresql-9.4-no-server.patch
                        postgresql-9.5-no-server.patch
  Log:
  Removed source dependency on patch collection now that the majority only
  require their respective no-server.patch if the server isn't going to be
  built. Removed ebuilds with conditionals that always evaluate to false in
  src_test() and pkg_prerm().
  
  (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 
D1BBFDA0)

Revision  Changes    Path
1.1                  dev-db/postgresql/files/postgresql-9.1-no-server.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql/files/postgresql-9.1-no-server.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql/files/postgresql-9.1-no-server.patch?rev=1.1&content-type=text/plain

Index: postgresql-9.1-no-server.patch
===================================================================
diff -Naur a/contrib/Makefile b/contrib/Makefile
--- a/contrib/Makefile  2011-09-08 17:13:27.000000000 -0400
+++ b/contrib/Makefile  2011-09-16 21:58:34.080579316 -0400
@@ -5,56 +5,10 @@
 include $(top_builddir)/src/Makefile.global
 
 SUBDIRS = \
-               adminpack       \
-               auth_delay      \
-               auto_explain    \
-               btree_gin       \
-               btree_gist      \
-               chkpass         \
-               citext          \
-               cube            \
-               dblink          \
-               dict_int        \
-               dict_xsyn       \
-               dummy_seclabel  \
-               earthdistance   \
-               file_fdw        \
-               fuzzystrmatch   \
-               hstore          \
-               intagg          \
-               intarray        \
-               isn             \
-               lo              \
-               ltree           \
                oid2name        \
-               pageinspect     \
-               passwordcheck   \
-               pg_archivecleanup \
-               pg_buffercache  \
-               pg_freespacemap \
-               pg_standby      \
-               pg_stat_statements \
-               pg_test_fsync   \
-               pg_trgm         \
-               pg_upgrade      \
-               pg_upgrade_support \
                pgbench         \
-               pgcrypto        \
-               pgrowlocks      \
-               pgstattuple     \
-               seg             \
-               spi             \
-               tablefunc       \
-               test_parser     \
-               tsearch2        \
-               unaccent        \
                vacuumlo
 
-ifeq ($(with_openssl),yes)
-SUBDIRS += sslinfo
-else
-ALWAYS_SUBDIRS += sslinfo
-endif
 
 ifeq ($(with_ossp_uuid),yes)
 SUBDIRS += uuid-ossp
diff -Naur a/src/backend/Makefile b/src/backend/Makefile
--- a/src/backend/Makefile      2011-09-08 17:13:27.000000000 -0400
+++ b/src/backend/Makefile      2011-09-16 22:01:48.400579314 -0400
@@ -45,7 +45,7 @@
 
 ##########################################################################
 
-all: submake-libpgport submake-schemapg postgres $(POSTGRES_IMP)
+all: someheaders
 
 ifneq ($(PORTNAME), cygwin)
 ifneq ($(PORTNAME), win32)
@@ -114,7 +114,7 @@
 endif # aix
 
 # Update the commonly used headers before building the subdirectories
-$(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
+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
 
 # run this unconditionally to avoid needing to know its dependencies here:
 submake-schemapg:
@@ -206,23 +206,7 @@
 
 ##########################################################################
 
-install: all installdirs install-bin
-ifeq ($(PORTNAME), cygwin)
-ifeq ($(MAKE_DLL), true)
-       $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a'
-endif
-endif
-ifeq ($(PORTNAME), win32)
-ifeq ($(MAKE_DLL), true)
-       $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a'
-endif
-endif
-       $(MAKE) -C catalog install-data
-       $(MAKE) -C tsearch install-data
-       $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample 
'$(DESTDIR)$(datadir)/pg_hba.conf.sample'
-       $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample 
'$(DESTDIR)$(datadir)/pg_ident.conf.sample'
-       $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample 
'$(DESTDIR)$(datadir)/postgresql.conf.sample'
-       $(INSTALL_DATA) $(srcdir)/access/transam/recovery.conf.sample 
'$(DESTDIR)$(datadir)/recovery.conf.sample'
+install:
 
 install-bin: postgres $(POSTGRES_IMP) installdirs
        $(INSTALL_PROGRAM) postgres$(X) '$(DESTDIR)$(bindir)/postgres$(X)'
diff -Naur a/src/bin/Makefile b/src/bin/Makefile
--- a/src/bin/Makefile  2011-09-08 17:13:27.000000000 -0400
+++ b/src/bin/Makefile  2011-09-16 22:03:48.250579314 -0400
@@ -13,8 +13,7 @@
 top_builddir = ../..
 include $(top_builddir)/src/Makefile.global
 
-SUBDIRS = initdb pg_ctl pg_dump \
-       psql scripts pg_config pg_controldata pg_resetxlog pg_basebackup
+SUBDIRS = pg_dump psql scripts pg_config
 
 ifeq ($(PORTNAME), win32)
 SUBDIRS += pgevent
diff -Naur a/src/Makefile b/src/Makefile
--- a/src/Makefile      2011-09-08 17:13:27.000000000 -0400
+++ b/src/Makefile      2011-09-16 22:29:17.650579302 -0400
@@ -14,17 +14,11 @@
 
 SUBDIRS = \
        port \
-       timezone \
        backend \
-       backend/utils/mb/conversion_procs \
-       backend/snowball \
        include \
        interfaces \
-       backend/replication/libpqwalreceiver \
        bin \
-       pl \
-       makefiles \
-       test/regress
+       makefiles
 
 # There are too many interdependencies between the subdirectories, so
 # don't attempt parallel make here.



1.1                  dev-db/postgresql/files/postgresql-9.2-no-server.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql/files/postgresql-9.2-no-server.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql/files/postgresql-9.2-no-server.patch?rev=1.1&content-type=text/plain

Index: postgresql-9.2-no-server.patch
===================================================================
diff -Naur a/contrib/Makefile b/contrib/Makefile
--- a/contrib/Makefile  2012-05-10 18:35:09.000000000 -0400
+++ b/contrib/Makefile  2012-05-20 09:33:47.892622992 -0400
@@ -5,58 +5,10 @@
 include $(top_builddir)/src/Makefile.global
 
 SUBDIRS = \
-               adminpack       \
-               auth_delay      \
-               auto_explain    \
-               btree_gin       \
-               btree_gist      \
-               chkpass         \
-               citext          \
-               cube            \
-               dblink          \
-               dict_int        \
-               dict_xsyn       \
-               dummy_seclabel  \
-               earthdistance   \
-               file_fdw        \
-               fuzzystrmatch   \
-               hstore          \
-               intagg          \
-               intarray        \
-               isn             \
-               lo              \
-               ltree           \
                oid2name        \
-               pageinspect     \
-               passwordcheck   \
-               pg_archivecleanup \
-               pg_buffercache  \
-               pg_freespacemap \
-               pg_standby      \
-               pg_stat_statements \
-               pg_test_fsync   \
-               pg_test_timing  \
-               pg_trgm         \
-               pg_upgrade      \
-               pg_upgrade_support \
                pgbench         \
-               pgcrypto        \
-               pgrowlocks      \
-               pgstattuple     \
-               seg             \
-               spi             \
-               tablefunc       \
-               tcn             \
-               test_parser     \
-               tsearch2        \
-               unaccent        \
                vacuumlo
 
-ifeq ($(with_openssl),yes)
-SUBDIRS += sslinfo
-else
-ALWAYS_SUBDIRS += sslinfo
-endif
 
 ifeq ($(with_ossp_uuid),yes)
 SUBDIRS += uuid-ossp
diff -Naur a/src/backend/Makefile b/src/backend/Makefile
--- a/src/backend/Makefile      2012-05-10 18:35:09.000000000 -0400
+++ b/src/backend/Makefile      2012-05-20 09:36:24.446654842 -0400
@@ -45,7 +45,7 @@
 
 ##########################################################################
 
-all: submake-libpgport submake-schemapg postgres $(POSTGRES_IMP)
+all: someheaders
 
 ifneq ($(PORTNAME), cygwin)
 ifneq ($(PORTNAME), win32)
@@ -114,7 +114,7 @@
 endif # aix
 
 # Update the commonly used headers before building the subdirectories
-$(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
+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
 
 # run this unconditionally to avoid needing to know its dependencies here:
 submake-schemapg:
@@ -207,23 +207,7 @@
 
 ##########################################################################
 
-install: all installdirs install-bin
-ifeq ($(PORTNAME), cygwin)
-ifeq ($(MAKE_DLL), true)
-       $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a'
-endif
-endif
-ifeq ($(PORTNAME), win32)
-ifeq ($(MAKE_DLL), true)
-       $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a'
-endif
-endif
-       $(MAKE) -C catalog install-data
-       $(MAKE) -C tsearch install-data
-       $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample 
'$(DESTDIR)$(datadir)/pg_hba.conf.sample'
-       $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample 
'$(DESTDIR)$(datadir)/pg_ident.conf.sample'
-       $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample 
'$(DESTDIR)$(datadir)/postgresql.conf.sample'
-       $(INSTALL_DATA) $(srcdir)/access/transam/recovery.conf.sample 
'$(DESTDIR)$(datadir)/recovery.conf.sample'
+install:
 
 install-bin: postgres $(POSTGRES_IMP) installdirs
        $(INSTALL_PROGRAM) postgres$(X) '$(DESTDIR)$(bindir)/postgres$(X)'
diff -Naur a/src/bin/Makefile b/src/bin/Makefile
--- a/src/bin/Makefile  2012-05-10 18:35:09.000000000 -0400
+++ b/src/bin/Makefile  2012-05-20 09:41:18.489958216 -0400
@@ -13,8 +13,7 @@
 top_builddir = ../..
 include $(top_builddir)/src/Makefile.global
 
-SUBDIRS = initdb pg_ctl pg_dump \
-       psql scripts pg_config pg_controldata pg_resetxlog pg_basebackup
+SUBDIRS = pg_dump psql scripts pg_config
 
 ifeq ($(PORTNAME), win32)
 SUBDIRS += pgevent
diff -Naur a/src/Makefile b/src/Makefile
--- a/src/Makefile      2012-05-10 18:35:09.000000000 -0400
+++ b/src/Makefile      2012-05-20 09:40:13.532774840 -0400
@@ -14,17 +14,11 @@
 
 SUBDIRS = \
        port \
-       timezone \
        backend \
-       backend/utils/mb/conversion_procs \
-       backend/snowball \
        include \
        interfaces \
-       backend/replication/libpqwalreceiver \
        bin \
-       pl \
-       makefiles \
-       test/regress
+       makefiles
 
 # There are too many interdependencies between the subdirectories, so
 # don't attempt parallel make here.



1.1                  dev-db/postgresql/files/postgresql-9.0-no-server.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql/files/postgresql-9.0-no-server.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql/files/postgresql-9.0-no-server.patch?rev=1.1&content-type=text/plain

Index: postgresql-9.0-no-server.patch
===================================================================
diff -Naur a/contrib/Makefile b/contrib/Makefile
--- a/contrib/Makefile  2011-02-02 07:37:16.654175660 -0500
+++ b/contrib/Makefile  2011-02-08 05:54:00.145582001 -0500
@@ -5,51 +5,10 @@
 include $(top_builddir)/src/Makefile.global
 
 SUBDIRS = \
-               adminpack       \
-               auto_explain    \
-               btree_gin       \
-               btree_gist      \
-               chkpass         \
-               citext          \
-               cube            \
-               dblink          \
-               dict_int        \
-               dict_xsyn       \
-               earthdistance   \
-               fuzzystrmatch   \
-               hstore          \
-               intagg          \
-               intarray        \
-               isn             \
-               lo              \
-               ltree           \
                oid2name        \
-               pageinspect     \
-               passwordcheck   \
-               pg_archivecleanup \
-               pg_buffercache  \
-               pg_freespacemap \
-               pg_standby      \
-               pg_stat_statements \
-               pg_trgm         \
-               pg_upgrade      \
-               pg_upgrade_support \
                pgbench         \
-               pgcrypto        \
-               pgrowlocks      \
-               pgstattuple     \
-               seg             \
-               spi             \
-               tablefunc       \
-               test_parser     \
-               tsearch2        \
-               unaccent        \
                vacuumlo
 
-ifeq ($(with_openssl),yes)
-SUBDIRS += sslinfo
-endif
-
 ifeq ($(with_ossp_uuid),yes)
 SUBDIRS += uuid-ossp
 endif
diff -Naur a/src/backend/Makefile b/src/backend/Makefile
--- a/src/backend/Makefile      2011-02-02 07:37:56.403870592 -0500
+++ b/src/backend/Makefile      2011-02-08 05:57:26.078497002 -0500
@@ -45,7 +45,7 @@
 
 ##########################################################################
 
-all: submake-libpgport submake-schemapg postgres $(POSTGRES_IMP)
+all: someheaders
 
 ifneq ($(PORTNAME), cygwin)
 ifneq ($(PORTNAME), win32)
@@ -114,7 +114,7 @@
 endif # aix
 
 # Update the commonly used headers before building the subdirectories
-$(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/probes.h
+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/probes.h
 
 # run this unconditionally to avoid needing to know its dependencies here:
 submake-schemapg:
@@ -191,23 +191,7 @@
 
 ##########################################################################
 
-install: all installdirs install-bin
-ifeq ($(PORTNAME), cygwin)
-ifeq ($(MAKE_DLL), true)
-       $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a'
-endif
-endif
-ifeq ($(PORTNAME), win32)
-ifeq ($(MAKE_DLL), true)
-       $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a'
-endif
-endif
-       $(MAKE) -C catalog install-data
-       $(MAKE) -C tsearch install-data
-       $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample 
'$(DESTDIR)$(datadir)/pg_hba.conf.sample'
-       $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample 
'$(DESTDIR)$(datadir)/pg_ident.conf.sample'
-       $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample 
'$(DESTDIR)$(datadir)/postgresql.conf.sample'
-       $(INSTALL_DATA) $(srcdir)/access/transam/recovery.conf.sample 
'$(DESTDIR)$(datadir)/recovery.conf.sample'
+install:
 
 install-bin: postgres $(POSTGRES_IMP) installdirs
        $(INSTALL_PROGRAM) postgres$(X) '$(DESTDIR)$(bindir)/postgres$(X)'
diff -Naur a/src/bin/Makefile b/src/bin/Makefile
--- a/src/bin/Makefile  2011-02-02 07:38:35.133570047 -0500
+++ b/src/bin/Makefile  2011-02-08 05:58:48.819847001 -0500
@@ -13,8 +13,7 @@
 top_builddir = ../..
 include $(top_builddir)/src/Makefile.global
 
-SUBDIRS = initdb pg_ctl pg_dump \
-       psql scripts pg_config pg_controldata pg_resetxlog
+SUBDIRS = pg_dump psql scripts pg_config
 ifeq ($(PORTNAME), win32)
 SUBDIRS+=pgevent
 endif
diff -Naur a/src/Makefile b/src/Makefile
--- a/src/Makefile      2011-02-02 07:37:56.283870942 -0500
+++ b/src/Makefile      2011-02-08 06:00:51.591202002 -0500
@@ -15,17 +15,11 @@
 
 all install installdirs uninstall distprep:
        $(MAKE) -C port $@
-       $(MAKE) -C timezone $@
        $(MAKE) -C backend $@
-       $(MAKE) -C backend/utils/mb/conversion_procs $@
-       $(MAKE) -C backend/snowball $@
        $(MAKE) -C include $@
        $(MAKE) -C interfaces $@
-       $(MAKE) -C backend/replication/libpqwalreceiver $@
        $(MAKE) -C bin $@
-       $(MAKE) -C pl $@
        $(MAKE) -C makefiles $@
-       $(MAKE) -C test/regress $@
 
 install: install-local
 



1.1                  dev-db/postgresql/files/pg_ctl-exit-status.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql/files/pg_ctl-exit-status.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql/files/pg_ctl-exit-status.patch?rev=1.1&content-type=text/plain

Index: pg_ctl-exit-status.patch
===================================================================
diff -Naur a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c
--- a/src/bin/pg_ctl/pg_ctl.c   2011-04-14 23:18:15 -0400
+++ b/src/bin/pg_ctl/pg_ctl.c   2011-08-01 19:44:54 -0400
@@ -975,7 +975,7 @@
                }
        }
        printf(_("%s: no server running\n"), progname);
-       exit(1);
+       exit(3);
 }
 
 



1.1                  dev-db/postgresql/files/postgresql-9.3-no-server.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql/files/postgresql-9.3-no-server.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql/files/postgresql-9.3-no-server.patch?rev=1.1&content-type=text/plain

Index: postgresql-9.3-no-server.patch
===================================================================
diff -Naur a/contrib/Makefile b/contrib/Makefile
--- a/contrib/Makefile  2013-05-06 20:57:06.000000000 +0000
+++ b/contrib/Makefile  2013-06-09 01:48:22.351874929 +0000
@@ -5,61 +5,10 @@
 include $(top_builddir)/src/Makefile.global
 
 SUBDIRS = \
-               adminpack       \
-               auth_delay      \
-               auto_explain    \
-               btree_gin       \
-               btree_gist      \
-               chkpass         \
-               citext          \
-               cube            \
-               dblink          \
-               dict_int        \
-               dict_xsyn       \
-               dummy_seclabel  \
-               earthdistance   \
-               file_fdw        \
-               fuzzystrmatch   \
-               hstore          \
-               intagg          \
-               intarray        \
-               isn             \
-               lo              \
-               ltree           \
                oid2name        \
-               pageinspect     \
-               passwordcheck   \
-               pg_archivecleanup \
-               pg_buffercache  \
-               pg_freespacemap \
-               pg_standby      \
-               pg_stat_statements \
-               pg_test_fsync   \
-               pg_test_timing  \
-               pg_trgm         \
-               pg_upgrade      \
-               pg_upgrade_support \
                pgbench         \
-               pgcrypto        \
-               pgrowlocks      \
-               pgstattuple     \
-               pg_xlogdump     \
-               postgres_fdw    \
-               seg             \
-               spi             \
-               tablefunc       \
-               tcn             \
-               test_parser     \
-               tsearch2        \
-               unaccent        \
-               vacuumlo        \
-               worker_spi
+               vacuumlo
 
-ifeq ($(with_openssl),yes)
-SUBDIRS += sslinfo
-else
-ALWAYS_SUBDIRS += sslinfo
-endif
 
 ifeq ($(with_ossp_uuid),yes)
 SUBDIRS += uuid-ossp
diff -Naur a/src/backend/Makefile b/src/backend/Makefile
--- a/src/backend/Makefile      2013-05-06 20:57:06.000000000 +0000
+++ b/src/backend/Makefile      2013-06-09 01:50:19.655864258 +0000
@@ -47,7 +47,7 @@
 
 ##########################################################################
 
-all: submake-libpgport submake-schemapg postgres $(POSTGRES_IMP)
+all: someheaders
 
 ifneq ($(PORTNAME), cygwin)
 ifneq ($(PORTNAME), win32)
@@ -116,7 +116,7 @@
 endif # aix
 
 # Update the commonly used headers before building the subdirectories
-$(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
+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
 
 # run this unconditionally to avoid needing to know its dependencies here:
 submake-schemapg:
@@ -209,23 +209,8 @@
 
 ##########################################################################
 
-install: all installdirs install-bin
-ifeq ($(PORTNAME), cygwin)
-ifeq ($(MAKE_DLL), true)
-       $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a'
-endif
-endif
-ifeq ($(PORTNAME), win32)
-ifeq ($(MAKE_DLL), true)
-       $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a'
-endif
-endif
-       $(MAKE) -C catalog install-data
-       $(MAKE) -C tsearch install-data
-       $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample 
'$(DESTDIR)$(datadir)/pg_hba.conf.sample'
-       $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample 
'$(DESTDIR)$(datadir)/pg_ident.conf.sample'
-       $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample 
'$(DESTDIR)$(datadir)/postgresql.conf.sample'
-       $(INSTALL_DATA) $(srcdir)/access/transam/recovery.conf.sample 
'$(DESTDIR)$(datadir)/recovery.conf.sample'
+install:
+
 
 install-bin: postgres $(POSTGRES_IMP) installdirs
        $(INSTALL_PROGRAM) postgres$(X) '$(DESTDIR)$(bindir)/postgres$(X)'
diff -Naur a/src/bin/Makefile b/src/bin/Makefile
--- a/src/bin/Makefile  2013-05-06 20:57:06.000000000 +0000
+++ b/src/bin/Makefile  2013-06-09 01:51:56.143824442 +0000
@@ -13,8 +13,7 @@
 top_builddir = ../..
 include $(top_builddir)/src/Makefile.global
 
-SUBDIRS = initdb pg_ctl pg_dump \
-       psql scripts pg_config pg_controldata pg_resetxlog pg_basebackup
+SUBDIRS = pg_dump psql scripts pg_config
 
 ifeq ($(PORTNAME), win32)
 SUBDIRS += pgevent
diff -Naur a/src/Makefile b/src/Makefile
--- a/src/Makefile      2013-05-06 20:57:06.000000000 +0000
+++ b/src/Makefile      2013-06-09 01:54:30.479704228 +0000
@@ -15,17 +15,11 @@
 SUBDIRS = \
        common \
        port \
-       timezone \
        backend \
-       backend/utils/mb/conversion_procs \
-       backend/snowball \
        include \
        interfaces \
-       backend/replication/libpqwalreceiver \
        bin \
-       pl \
-       makefiles \
-       test/regress
+       makefiles
 
 # There are too many interdependencies between the subdirectories, so
 # don't attempt parallel make here.



1.1                  dev-db/postgresql/files/postgresql-9.4-no-server.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql/files/postgresql-9.4-no-server.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql/files/postgresql-9.4-no-server.patch?rev=1.1&content-type=text/plain

Index: postgresql-9.4-no-server.patch
===================================================================
diff -Naur a/contrib/Makefile b/contrib/Makefile
--- a/contrib/Makefile  2013-05-06 20:57:06.000000000 +0000
+++ b/contrib/Makefile  2013-06-09 01:48:22.351874929 +0000
@@ -5,64 +5,10 @@
 include $(top_builddir)/src/Makefile.global
 
 SUBDIRS = \
-               adminpack       \
-               auth_delay      \
-               auto_explain    \
-               btree_gin       \
-               btree_gist      \
-               chkpass         \
-               citext          \
-               cube            \
-               dblink          \
-               dict_int        \
-               dict_xsyn       \
-               dummy_seclabel  \
-               earthdistance   \
-               file_fdw        \
-               fuzzystrmatch   \
-               hstore          \
-               intagg          \
-               intarray        \
-               isn             \
-               lo              \
-               ltree           \
                oid2name        \
-               pageinspect     \
-               passwordcheck   \
-               pg_archivecleanup \
-               pg_buffercache  \
-               pg_freespacemap \
-               pg_prewarm      \
-               pg_standby      \
-               pg_stat_statements \
-               pg_test_fsync   \
-               pg_test_timing  \
-               pg_trgm         \
-               pg_upgrade      \
-               pg_upgrade_support \
                pgbench         \
-               pgcrypto        \
-               pgrowlocks      \
-               pgstattuple     \
-               pg_xlogdump     \
-               postgres_fdw    \
-               seg             \
-               spi             \
-               tablefunc       \
-               tcn             \
-               test_decoding   \
-               test_parser     \
-               test_shm_mq     \
-               tsearch2        \
-               unaccent        \
-               vacuumlo        \
-               worker_spi
+               vacuumlo
 
-ifeq ($(with_openssl),yes)
-SUBDIRS += sslinfo
-else
-ALWAYS_SUBDIRS += sslinfo
-endif
 
 ifeq ($(with_ossp_uuid),yes)
 SUBDIRS += uuid-ossp
diff -Naur a/src/backend/Makefile b/src/backend/Makefile
--- a/src/backend/Makefile      2013-05-06 20:57:06.000000000 +0000
+++ b/src/backend/Makefile      2013-06-09 01:50:19.655864258 +0000
@@ -47,7 +47,7 @@
 
 ##########################################################################
 
-all: submake-libpgport submake-schemapg postgres $(POSTGRES_IMP)
+all: someheaders
 
 ifneq ($(PORTNAME), cygwin)
 ifneq ($(PORTNAME), win32)
@@ -116,7 +116,7 @@
 endif # aix
 
 # Update the commonly used headers before building the subdirectories
-$(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
+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
 
 # run this unconditionally to avoid needing to know its dependencies here:
 submake-schemapg:
@@ -209,23 +209,8 @@
 
 ##########################################################################
 
-install: all installdirs install-bin
-ifeq ($(PORTNAME), cygwin)
-ifeq ($(MAKE_DLL), true)
-       $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a'
-endif
-endif
-ifeq ($(PORTNAME), win32)
-ifeq ($(MAKE_DLL), true)
-       $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a'
-endif
-endif
-       $(MAKE) -C catalog install-data
-       $(MAKE) -C tsearch install-data
-       $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample 
'$(DESTDIR)$(datadir)/pg_hba.conf.sample'
-       $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample 
'$(DESTDIR)$(datadir)/pg_ident.conf.sample'
-       $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample 
'$(DESTDIR)$(datadir)/postgresql.conf.sample'
-       $(INSTALL_DATA) $(srcdir)/access/transam/recovery.conf.sample 
'$(DESTDIR)$(datadir)/recovery.conf.sample'
+install:
+
 
 install-bin: postgres $(POSTGRES_IMP) installdirs
        $(INSTALL_PROGRAM) postgres$(X) '$(DESTDIR)$(bindir)/postgres$(X)'
diff -Naur a/src/bin/Makefile b/src/bin/Makefile
--- a/src/bin/Makefile  2013-05-06 20:57:06.000000000 +0000
+++ b/src/bin/Makefile  2013-06-09 01:51:56.143824442 +0000
@@ -13,8 +13,7 @@
 top_builddir = ../..
 include $(top_builddir)/src/Makefile.global
 
-SUBDIRS = initdb pg_ctl pg_dump \
-       psql scripts pg_config pg_controldata pg_resetxlog pg_basebackup
+SUBDIRS = pg_dump psql scripts pg_config
 
 ifeq ($(PORTNAME), win32)
 SUBDIRS += pgevent
diff -Naur a/src/Makefile b/src/Makefile
--- a/src/Makefile      2013-05-06 20:57:06.000000000 +0000
+++ b/src/Makefile      2013-06-09 01:54:30.479704228 +0000
@@ -15,17 +15,11 @@
 SUBDIRS = \
        common \
        port \
-       timezone \
        backend \
-       backend/utils/mb/conversion_procs \
-       backend/snowball \
        include \
        interfaces \
-       backend/replication/libpqwalreceiver \
        bin \
-       pl \
-       makefiles \
-       test/regress
+       makefiles
 
 # There are too many interdependencies between the subdirectories, so
 # don't attempt parallel make here.



1.1                  dev-db/postgresql/files/postgresql-9.5-no-server.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql/files/postgresql-9.5-no-server.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql/files/postgresql-9.5-no-server.patch?rev=1.1&content-type=text/plain

Index: postgresql-9.5-no-server.patch
===================================================================
diff --git a/contrib/Makefile b/contrib/Makefile
index b37d0dd..b56fbf6 100644
--- a/contrib/Makefile
+++ b/contrib/Makefile
@@ -5,64 +5,9 @@ top_builddir = ..
 include $(top_builddir)/src/Makefile.global
 
 SUBDIRS = \
-               adminpack       \
-               auth_delay      \
-               auto_explain    \
-               btree_gin       \
-               btree_gist      \
-               chkpass         \
-               citext          \
-               cube            \
-               dblink          \
-               dict_int        \
-               dict_xsyn       \
-               dummy_seclabel  \
-               earthdistance   \
-               file_fdw        \
-               fuzzystrmatch   \
-               hstore          \
-               intagg          \
-               intarray        \
-               isn             \
-               lo              \
-               ltree           \
                oid2name        \
-               pageinspect     \
-               passwordcheck   \
-               pg_archivecleanup \
-               pg_buffercache  \
-               pg_freespacemap \
-               pg_prewarm      \
-               pg_standby      \
-               pg_stat_statements \
-               pg_test_fsync   \
-               pg_test_timing  \
-               pg_trgm         \
-               pg_upgrade      \
-               pg_upgrade_support \
                pgbench         \
-               pgcrypto        \
-               pgrowlocks      \
-               pgstattuple     \
-               pg_xlogdump     \
-               postgres_fdw    \
-               seg             \
-               spi             \
-               tablefunc       \
-               tcn             \
-               test_decoding   \
-               test_parser     \
-               test_shm_mq     \
-               tsearch2        \
-               unaccent        \
-               vacuumlo        \
-               worker_spi
-
-ifeq ($(with_openssl),yes)
-SUBDIRS += sslinfo
-else
-ALWAYS_SUBDIRS += sslinfo
-endif
+               vacuumlo
 
 ifneq ($(with_uuid),no)
 SUBDIRS += uuid-ossp
diff -Naur a/src/backend/Makefile b/src/backend/Makefile
--- a/src/backend/Makefile      2013-05-06 20:57:06.000000000 +0000
+++ b/src/backend/Makefile      2013-06-09 01:50:19.655864258 +0000
@@ -47,7 +47,7 @@
 
 ##########################################################################
 
-all: submake-libpgport submake-schemapg postgres $(POSTGRES_IMP)
+all: someheaders
 
 ifneq ($(PORTNAME), cygwin)
 ifneq ($(PORTNAME), win32)
@@ -116,7 +116,7 @@
 endif # aix
 
 # Update the commonly used headers before building the subdirectories
-$(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
+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
 
 # run this unconditionally to avoid needing to know its dependencies here:
 submake-schemapg:
@@ -209,23 +209,8 @@
 
 ##########################################################################
 
-install: all installdirs install-bin
-ifeq ($(PORTNAME), cygwin)
-ifeq ($(MAKE_DLL), true)
-       $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a'
-endif
-endif
-ifeq ($(PORTNAME), win32)
-ifeq ($(MAKE_DLL), true)
-       $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a'
-endif
-endif
-       $(MAKE) -C catalog install-data
-       $(MAKE) -C tsearch install-data
-       $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample 
'$(DESTDIR)$(datadir)/pg_hba.conf.sample'
-       $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample 
'$(DESTDIR)$(datadir)/pg_ident.conf.sample'
-       $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample 
'$(DESTDIR)$(datadir)/postgresql.conf.sample'
-       $(INSTALL_DATA) $(srcdir)/access/transam/recovery.conf.sample 
'$(DESTDIR)$(datadir)/recovery.conf.sample'
+install:
+
 
 install-bin: postgres $(POSTGRES_IMP) installdirs
        $(INSTALL_PROGRAM) postgres$(X) '$(DESTDIR)$(bindir)/postgres$(X)'
diff -Naur a/src/bin/Makefile b/src/bin/Makefile
--- a/src/bin/Makefile  2013-05-06 20:57:06.000000000 +0000
+++ b/src/bin/Makefile  2013-06-09 01:51:56.143824442 +0000
@@ -13,8 +13,7 @@
 top_builddir = ../..
 include $(top_builddir)/src/Makefile.global
 
-SUBDIRS = initdb pg_ctl pg_dump \
-       psql scripts pg_config pg_controldata pg_resetxlog pg_basebackup
+SUBDIRS = pg_dump psql scripts pg_config
 
 ifeq ($(PORTNAME), win32)
 SUBDIRS += pgevent
diff -Naur a/src/Makefile b/src/Makefile
--- a/src/Makefile      2013-05-06 20:57:06.000000000 +0000
+++ b/src/Makefile      2013-06-09 01:54:30.479704228 +0000
@@ -15,17 +15,11 @@
 SUBDIRS = \
        common \
        port \
-       timezone \
        backend \
-       backend/utils/mb/conversion_procs \
-       backend/snowball \
        include \
        interfaces \
-       backend/replication/libpqwalreceiver \
        bin \
-       pl \
-       makefiles \
-       test/regress
+       makefiles
 
 # There are too many interdependencies between the subdirectories, so
 # don't attempt parallel make here.




Reply via email to