logo

overlay

My (experimental) gentoo overlay

postgresql-10.2-no-server.patch (3117B)


      1 --- a/contrib/Makefile
      2 +++ b/contrib/Makefile
      3 @@ -5,57 +5,9 @@
      4  include $(top_builddir)/src/Makefile.global
      5  
      6  SUBDIRS = \
      7 -		adminpack	\
      8 -		amcheck		\
      9 -		auth_delay	\
     10 -		auto_explain	\
     11 -		bloom		\
     12 -		btree_gin	\
     13 -		btree_gist	\
     14 -		chkpass		\
     15 -		citext		\
     16 -		cube		\
     17 -		dblink		\
     18 -		dict_int	\
     19 -		dict_xsyn	\
     20 -		earthdistance	\
     21 -		file_fdw	\
     22 -		fuzzystrmatch	\
     23 -		hstore		\
     24 -		intagg		\
     25 -		intarray	\
     26 -		isn		\
     27 -		lo		\
     28 -		ltree		\
     29  		oid2name	\
     30 -		pageinspect	\
     31 -		passwordcheck	\
     32 -		pg_buffercache	\
     33 -		pg_freespacemap \
     34 -		pg_prewarm	\
     35 -		pg_standby	\
     36 -		pg_stat_statements \
     37 -		pg_trgm		\
     38 -		pgcrypto	\
     39 -		pgrowlocks	\
     40 -		pgstattuple	\
     41 -		pg_visibility	\
     42 -		postgres_fdw	\
     43 -		seg		\
     44 -		spi		\
     45 -		tablefunc	\
     46 -		tcn		\
     47 -		test_decoding	\
     48 -		tsm_system_rows \
     49 -		tsm_system_time \
     50 -		unaccent	\
     51  		vacuumlo
     52  
     53 -ifeq ($(with_openssl),yes)
     54 -SUBDIRS += sslinfo
     55 -else
     56 -ALWAYS_SUBDIRS += sslinfo
     57 -endif
     58  
     59  ifneq ($(with_uuid),no)
     60  SUBDIRS += uuid-ossp
     61 --- a/src/backend/Makefile
     62 +++ b/src/backend/Makefile
     63 @@ -51,7 +51,7 @@
     64  
     65  ##########################################################################
     66  
     67 -all: submake-libpgport submake-schemapg postgres $(POSTGRES_IMP)
     68 +all: generated-headers
     69  
     70  ifneq ($(PORTNAME), cygwin)
     71  ifneq ($(PORTNAME), win32)
     72 @@ -226,23 +226,7 @@
     73  
     74  ##########################################################################
     75  
     76 -install: all installdirs install-bin
     77 -ifeq ($(PORTNAME), cygwin)
     78 -ifeq ($(MAKE_DLL), true)
     79 -	$(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a'
     80 -endif
     81 -endif
     82 -ifeq ($(PORTNAME), win32)
     83 -ifeq ($(MAKE_DLL), true)
     84 -	$(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a'
     85 -endif
     86 -endif
     87 -	$(MAKE) -C catalog install-data
     88 -	$(MAKE) -C tsearch install-data
     89 -	$(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample '$(DESTDIR)$(datadir)/pg_hba.conf.sample'
     90 -	$(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample '$(DESTDIR)$(datadir)/pg_ident.conf.sample'
     91 -	$(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample '$(DESTDIR)$(datadir)/postgresql.conf.sample'
     92 -	$(INSTALL_DATA) $(srcdir)/access/transam/recovery.conf.sample '$(DESTDIR)$(datadir)/recovery.conf.sample'
     93 +install:
     94  
     95  install-bin: postgres $(POSTGRES_IMP) installdirs
     96  	$(INSTALL_PROGRAM) postgres$(X) '$(DESTDIR)$(bindir)/postgres$(X)'
     97 --- a/src/bin/Makefile
     98 +++ b/src/bin/Makefile
     99 @@ -14,19 +14,8 @@
    100  include $(top_builddir)/src/Makefile.global
    101  
    102  SUBDIRS = \
    103 -	initdb \
    104 -	pg_archivecleanup \
    105 -	pg_basebackup \
    106  	pg_config \
    107 -	pg_controldata \
    108 -	pg_ctl \
    109  	pg_dump \
    110 -	pg_resetwal \
    111 -	pg_rewind \
    112 -	pg_test_fsync \
    113 -	pg_test_timing \
    114 -	pg_upgrade \
    115 -	pg_waldump \
    116  	pgbench \
    117  	psql \
    118  	scripts
    119 --- a/src/Makefile
    120 +++ b/src/Makefile
    121 @@ -15,21 +15,12 @@
    122  SUBDIRS = \
    123  	common \
    124  	port \
    125 -	timezone \
    126  	backend \
    127 -	backend/utils/mb/conversion_procs \
    128 -	backend/snowball \
    129  	include \
    130  	interfaces \
    131 -	backend/replication/libpqwalreceiver \
    132 -	backend/replication/pgoutput \
    133  	fe_utils \
    134  	bin \
    135 -	pl \
    136 -	makefiles \
    137 -	test/regress \
    138 -	test/isolation \
    139 -	test/perl
    140 +	makefiles
    141  
    142  # There are too many interdependencies between the subdirectories, so
    143  # don't attempt parallel make here.