pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/geography/postgresql81-postgis Put liblwgeom where pos...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fe3b433af0a8
branches: trunk
changeset: 518615:fe3b433af0a8
user: gdt <gdt%pkgsrc.org@localhost>
date: Thu Sep 14 19:16:43 2006 +0000
description:
Put liblwgeom where postgis wants to put it.
Attempt to work around lack of RPATH for liblwgeom.
diffstat:
geography/postgresql81-postgis/Makefile | 10 ++++++++--
geography/postgresql81-postgis/PLIST | 8 ++++----
2 files changed, 12 insertions(+), 6 deletions(-)
diffs (42 lines):
diff -r 47bd8ed38723 -r fe3b433af0a8 geography/postgresql81-postgis/Makefile
--- a/geography/postgresql81-postgis/Makefile Thu Sep 14 17:13:58 2006 +0000
+++ b/geography/postgresql81-postgis/Makefile Thu Sep 14 19:16:43 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/09/14 17:02:40 gdt Exp $
+# $NetBSD: Makefile,v 1.2 2006/09/14 19:16:43 gdt Exp $
DISTNAME= postgis-${VERSION}
VERSION= 1.1.3
@@ -18,8 +18,14 @@
USE_TOOLS+= gmake perl
USE_LANGUAGES+= c c++
+CONFIGURE_ARGS+= --enable-rpath
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/postgresql/contrib
-CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/postgresql
+#CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/postgresql
+
+# Work around geos and proj not providing -R via foo-config/pkg-config.
+# XXX Deal with this correctly.
+LDFLAGS+= -L${PREFIX}/lib -R${PREFIX}/lib
+CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
DOCDIR= ${PREFIX}/share/doc/postgis
HTMLDIR= ${PREFIX}/share/doc/html/postgis
diff -r 47bd8ed38723 -r fe3b433af0a8 geography/postgresql81-postgis/PLIST
--- a/geography/postgresql81-postgis/PLIST Thu Sep 14 17:13:58 2006 +0000
+++ b/geography/postgresql81-postgis/PLIST Thu Sep 14 19:16:43 2006 +0000
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2006/09/14 17:02:40 gdt Exp $
+@comment $NetBSD: PLIST,v 1.2 2006/09/14 19:16:43 gdt Exp $
bin/pgsql2shp
bin/shp2pgsql
-lib/postgresql/liblwgeom.so
-lib/postgresql/liblwgeom.so.1
-lib/postgresql/liblwgeom.so.1.1
+lib/liblwgeom.so
+lib/liblwgeom.so.1
+lib/liblwgeom.so.1.1
share/doc/html/postgis/apa.html
share/doc/html/postgis/ch01.html
share/doc/html/postgis/ch02.html
Home |
Main Index |
Thread Index |
Old Index