summaryrefslogtreecommitdiff
path: root/databases/postgresql-postgis
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-10-20 18:18:52 +0000
committerjoerg <joerg@pkgsrc.org>2013-10-20 18:18:52 +0000
commite61e93d8ff1209a8b61fcf0c139e775a32f44dbc (patch)
treedae306f59e4acd7157ab1dc10ff482879cb64396 /databases/postgresql-postgis
parent097a4604548694f41847b7824ebc5c3d66aa977a (diff)
downloadpkgsrc-e61e93d8ff1209a8b61fcf0c139e775a32f44dbc.tar.gz
Fix rpath option to have -Wl prefix.
Diffstat (limited to 'databases/postgresql-postgis')
-rw-r--r--databases/postgresql-postgis/distinfo6
-rw-r--r--databases/postgresql-postgis/patches/patch-configure4
-rw-r--r--databases/postgresql-postgis/patches/patch-configure.ac4
3 files changed, 7 insertions, 7 deletions
diff --git a/databases/postgresql-postgis/distinfo b/databases/postgresql-postgis/distinfo
index a39f30c21d1..40dbb4c51a8 100644
--- a/databases/postgresql-postgis/distinfo
+++ b/databases/postgresql-postgis/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.8 2012/03/14 16:41:10 fhajny Exp $
+$NetBSD: distinfo,v 1.9 2013/10/20 18:18:52 joerg Exp $
SHA1 (postgis-1.5.3.tar.gz) = e8c572e0258ba760a67b7f717bdc8321b9f6cd58
RMD160 (postgis-1.5.3.tar.gz) = e30275890b175cbe1d70d5899cbe45ec34ddbafb
Size (postgis-1.5.3.tar.gz) = 3779956 bytes
-SHA1 (patch-configure) = 5995e773b9f8ec20e710d6cb690e928856c2650e
-SHA1 (patch-configure.ac) = 993358912b61670733602511d507e497c9677875
+SHA1 (patch-configure) = 02eb1f3774bdb75f6426e3af97e81a1991c41b4b
+SHA1 (patch-configure.ac) = 84d5371513f235184c65b4e80aa67334ae8c2498
SHA1 (patch-doc_Makefile.in) = 98807010256cf42e4d179305febe2525efbb6cd1
SHA1 (patch-doc_html_image__src_Makefile.in) = 89e19e03dbb936d723d1e6748cd2bd77232bcf6d
SHA1 (patch-postgis_Makefile.in) = db0e73dac0d4c88cd44fe33253c8b766c576b664
diff --git a/databases/postgresql-postgis/patches/patch-configure b/databases/postgresql-postgis/patches/patch-configure
index 866595b0582..f4e98f2d11c 100644
--- a/databases/postgresql-postgis/patches/patch-configure
+++ b/databases/postgresql-postgis/patches/patch-configure
@@ -1,4 +1,4 @@
-$NetBSD: patch-configure,v 1.1 2011/12/31 17:14:16 gdt Exp $
+$NetBSD: patch-configure,v 1.2 2013/10/20 18:18:52 joerg Exp $
See configure.ac patch.
@@ -10,7 +10,7 @@ See configure.ac patch.
-PGSQL_FE_LDFLAGS=-L`$PGCONFIG --libdir`" -lpq"
+
-+PGSQL_FE_LDFLAGS="-L`$PGCONFIG --libdir` -R`$PGCONFIG --libdir` -lpq"
++PGSQL_FE_LDFLAGS="-L`$PGCONFIG --libdir` ${COMPILER_RPATH_FLAG}`$PGCONFIG --libdir` -lpq"
PGSQL_FE_CPPFLAGS=-I`$PGCONFIG --includedir`
diff --git a/databases/postgresql-postgis/patches/patch-configure.ac b/databases/postgresql-postgis/patches/patch-configure.ac
index c7bb9f50ee3..e8aaba581e4 100644
--- a/databases/postgresql-postgis/patches/patch-configure.ac
+++ b/databases/postgresql-postgis/patches/patch-configure.ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-configure.ac,v 1.1 2011/12/31 17:14:16 gdt Exp $
+$NetBSD: patch-configure.ac,v 1.2 2013/10/20 18:18:52 joerg Exp $
Upstream's configure hand-constructs LDFLAGS from using --libdir, and
fails to address rpath.
@@ -13,7 +13,7 @@ understanding better.
dnl Extract the linker and include flags for the frontend (for programs that use libpq)
-PGSQL_FE_LDFLAGS=-L`$PGCONFIG --libdir`" -lpq"
-+PGSQL_FE_LDFLAGS="-L`$PGCONFIG --libdir` -R`$PGCONFIG --libdir` -lpq"
++PGSQL_FE_LDFLAGS="-L`$PGCONFIG --libdir` ${COMPILER_RPATH_FLAG}`$PGCONFIG --libdir` -lpq"
PGSQL_FE_CPPFLAGS=-I`$PGCONFIG --includedir`
AC_SUBST([PGSQL_FE_LDFLAGS])