summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2006-09-14 19:16:43 +0000
committergdt <gdt@pkgsrc.org>2006-09-14 19:16:43 +0000
commit0eb0b6db3de9fcea4fdfc7f3b135c0908ba480b8 (patch)
tree1ce13e457602b43686b7739f6d9aca7505bffee0 /geography
parent24ca5a7c493ae0a6215cffe46958435b72755f44 (diff)
downloadpkgsrc-0eb0b6db3de9fcea4fdfc7f3b135c0908ba480b8.tar.gz
Put liblwgeom where postgis wants to put it.
Attempt to work around lack of RPATH for liblwgeom.
Diffstat (limited to 'geography')
-rw-r--r--geography/postgresql81-postgis/Makefile10
-rw-r--r--geography/postgresql81-postgis/PLIST8
2 files changed, 12 insertions, 6 deletions
diff --git a/geography/postgresql81-postgis/Makefile b/geography/postgresql81-postgis/Makefile
index 5ef5bcf484e..a090827fe76 100644
--- a/geography/postgresql81-postgis/Makefile
+++ b/geography/postgresql81-postgis/Makefile
@@ -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 @@ GNU_CONFIGURE= YES
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 --git a/geography/postgresql81-postgis/PLIST b/geography/postgresql81-postgis/PLIST
index 6b09a6f305a..fad599cdc98 100644
--- a/geography/postgresql81-postgis/PLIST
+++ b/geography/postgresql81-postgis/PLIST
@@ -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