pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/postgresql-postgis2 postgis: Respect LDFLAGS...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/424812a41749
branches:  trunk
changeset: 768774:424812a41749
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Mon Nov 01 13:48:41 2021 +0000

description:
postgis: Respect LDFLAGS in shp2pgsql build

Resolves RELRO check failure.  Filed upstream.

diffstat:

 databases/postgresql-postgis2/Makefile                         |   4 +-
 databases/postgresql-postgis2/distinfo                         |   3 +-
 databases/postgresql-postgis2/patches/patch-loader_Makefile.in |  17 ++++++++++
 3 files changed, 21 insertions(+), 3 deletions(-)

diffs (50 lines):

diff -r 7f169bf1d8e1 -r 424812a41749 databases/postgresql-postgis2/Makefile
--- a/databases/postgresql-postgis2/Makefile    Mon Nov 01 11:56:41 2021 +0000
+++ b/databases/postgresql-postgis2/Makefile    Mon Nov 01 13:48:41 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.102 2021/10/21 20:33:04 kim Exp $
+# $NetBSD: Makefile,v 1.103 2021/11/01 13:48:41 gdt Exp $
 
 # Note that the directory is still postgis2, for historical reasons.
 # It remains, due to inertia, until there is a good basis to be sure
@@ -6,7 +6,7 @@
 MAJOR=         3.1
 DISTNAME=      postgis-${MAJOR}.4
 PKGNAME=       postgresql${PGSQL_VERSION}-${DISTNAME}
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    databases geography
 MASTER_SITES=  https://download.osgeo.org/postgis/source/
 
diff -r 7f169bf1d8e1 -r 424812a41749 databases/postgresql-postgis2/distinfo
--- a/databases/postgresql-postgis2/distinfo    Mon Nov 01 11:56:41 2021 +0000
+++ b/databases/postgresql-postgis2/distinfo    Mon Nov 01 13:48:41 2021 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.29 2021/10/26 10:09:46 nia Exp $
+$NetBSD: distinfo,v 1.30 2021/11/01 13:48:41 gdt Exp $
 
 BLAKE2s (postgis-3.1.4.tar.gz) = 5d3f5e119436ff80204ed6307cba6b03db09e10780e4102012ffe03ec6093516
 SHA512 (postgis-3.1.4.tar.gz) = afd84b45b146bdae310580fc9f8a878dd658f9e74f99c41f5d143f32974d5f5017ab4190855dcaea915a31ac2a78d34bf5561f206965264de3252f2c2ac57683
 Size (postgis-3.1.4.tar.gz) = 17269391 bytes
+SHA1 (patch-loader_Makefile.in) = 2486bcb91f8ffa3a5b397ef3bffe4bfbdf1936f5
diff -r 7f169bf1d8e1 -r 424812a41749 databases/postgresql-postgis2/patches/patch-loader_Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/postgresql-postgis2/patches/patch-loader_Makefile.in    Mon Nov 01 13:48:41 2021 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-loader_Makefile.in,v 1.1 2021/11/01 13:48:41 gdt Exp $
+
+Respect LDFLAGS for shp2pgsql etc.
+
+https://trac.osgeo.org/postgis/ticket/5016
+
+--- loader/Makefile.in.orig    2021-09-04 05:03:42.000000000 +0000
++++ loader/Makefile.in
+@@ -28,6 +28,8 @@ SHELL = @SHELL@
+ INSTALL = @INSTALL@
+ LIBTOOL = @LIBTOOL@
+ 
++LDFLAGS = @LDFLAGS@
++
+ # Filenames with extension as determined by the OS
+ POSTGIS-CLI=postgis@EXESUFFIX@
+ PGSQL2SHP-CLI=pgsql2shp@EXESUFFIX@



Home | Main Index | Thread Index | Old Index