summaryrefslogtreecommitdiff
path: root/databases/postgresql93
diff options
context:
space:
mode:
authorfhajny <fhajny>2016-06-19 20:40:10 +0000
committerfhajny <fhajny>2016-06-19 20:40:10 +0000
commit7ac80c3e33a49024f5ae13838c8d7ba162d117b0 (patch)
tree836d5f522b2ea57d6a2b96abd1d5c1d46da3cbfe /databases/postgresql93
parent6ea046ded4c4b03d9d21a83062f7fbb73e528c0d (diff)
downloadpkgsrc-7ac80c3e33a49024f5ae13838c8d7ba162d117b0.tar.gz
Backport a minor tweak from newer branches that fixes building the
contrib/postgres_fdw extension with PGXS.
Diffstat (limited to 'databases/postgresql93')
-rw-r--r--databases/postgresql93/distinfo3
-rw-r--r--databases/postgresql93/patches/patch-contrib_postgres__fdw_Makefile22
2 files changed, 24 insertions, 1 deletions
diff --git a/databases/postgresql93/distinfo b/databases/postgresql93/distinfo
index 470a2d7dad4..267000b3ce8 100644
--- a/databases/postgresql93/distinfo
+++ b/databases/postgresql93/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2016/05/23 14:27:34 adam Exp $
+$NetBSD: distinfo,v 1.19 2016/06/19 20:40:10 fhajny Exp $
SHA1 (postgresql-9.3.13.tar.bz2) = 5ee33e9b31c3686bd6c6fa0659f8766f5f70b53c
RMD160 (postgresql-9.3.13.tar.bz2) = a4269b8eb9c818e5884acbe88c02551551fbbb33
@@ -9,6 +9,7 @@ SHA1 (patch-config_perl.m4) = e035132b1c281a75752d570ac5e29a11176c25c5
SHA1 (patch-configure) = 3de7635fe18532a05a619941fecad7bcda6c51b9
SHA1 (patch-contrib_dblink_Makefile) = 11620938ce93109311df90df675b1ad6f0c15212
SHA1 (patch-contrib_dblink_dblink.c) = a6f87ab9f2c28a72608d70267b71bd77437b0921
+SHA1 (patch-contrib_postgres__fdw_Makefile) = 07feda488e3acb71405b04d0d745c9920456b32b
SHA1 (patch-src_Makefile.global.in) = 53e29e000d7fb71e2625aacd32324e9d7001b5b2
SHA1 (patch-src_Makefile.shlib) = 69f980184fd8dbd821221a1c6ac3a88408f2c4cf
SHA1 (patch-src_backend_Makefile) = deba6bc07ba2e4b8ef8f04f20efb2bdd54cb917e
diff --git a/databases/postgresql93/patches/patch-contrib_postgres__fdw_Makefile b/databases/postgresql93/patches/patch-contrib_postgres__fdw_Makefile
new file mode 100644
index 00000000000..7a7723b847a
--- /dev/null
+++ b/databases/postgresql93/patches/patch-contrib_postgres__fdw_Makefile
@@ -0,0 +1,22 @@
+$NetBSD: patch-contrib_postgres__fdw_Makefile,v 1.1 2016/06/19 20:40:10 fhajny Exp $
+
+Backport PGXS build fix from newer branches.
+
+--- contrib/postgres_fdw/Makefile.orig 2016-05-09 20:53:56.000000000 +0000
++++ contrib/postgres_fdw/Makefile
+@@ -5,7 +5,6 @@ OBJS = postgres_fdw.o option.o deparse.o
+
+ PG_CPPFLAGS = -I$(libpq_srcdir)
+ SHLIB_LINK = $(libpq)
+-SHLIB_PREREQS = submake-libpq
+
+ EXTENSION = postgres_fdw
+ DATA = postgres_fdw--1.0.sql
+@@ -20,6 +19,7 @@ PG_CONFIG = pg_config
+ PGXS := $(shell $(PG_CONFIG) --pgxs)
+ include $(PGXS)
+ else
++SHLIB_PREREQS = submake-libpq
+ subdir = contrib/postgres_fdw
+ top_builddir = ../..
+ include $(top_builddir)/src/Makefile.global