$NetBSD: patch-aa,v 1.3 2010/03/12 01:06:16 gdt Exp $ --- postgis/Makefile.in.orig 2010-01-08 22:48:29.000000000 +0000 +++ postgis/Makefile.in @@ -69,7 +69,7 @@ OBJS=$(PG_OBJS) # older version of PostGIS, rather than with the static liblwgeom.a # supplied with newer versions of PostGIS PG_CPPFLAGS+=@CPPFLAGS@ -I../liblwgeom -SHLIB_LINK+=@SHLIB_LINK@ ../liblwgeom/liblwgeom.a +SHLIB_LINK+=@SHLIB_LINK@ ../liblwgeom/liblwgeom.la # Extra files to remove during 'make clean' EXTRA_CLEAN=$(SQL_OBJS) @@ -103,7 +103,7 @@ endif # Borrow the $libdir substitution from PGXS but customise by adding the version number %.sql: %.sql.in - sed 's,MODULE_PATHNAME,$$libdir/postgis-@POSTGIS_MAJOR_VERSION@.@POSTGIS_MINOR_VERSION@,g' $< >$@ + sed 's,MODULE_PATHNAME,$$libdir/../libpostgis-@POSTGIS_MAJOR_VERSION@.@POSTGIS_MINOR_VERSION@.so,g' $< >$@ postgis_upgrade_15_minor.sql: postgis.sql $(PERL) ../utils/postgis_proc_upgrade.pl $< 1.5 > $@