From 0eb0b6db3de9fcea4fdfc7f3b135c0908ba480b8 Mon Sep 17 00:00:00 2001 From: gdt Date: Thu, 14 Sep 2006 19:16:43 +0000 Subject: Put liblwgeom where postgis wants to put it. Attempt to work around lack of RPATH for liblwgeom. --- geography/postgresql81-postgis/Makefile | 10 ++++++++-- geography/postgresql81-postgis/PLIST | 8 ++++---- 2 files changed, 12 insertions(+), 6 deletions(-) (limited to 'geography') 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 -- cgit v1.2.3