head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.6 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.4 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.2 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.2.0.14 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.12 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.10 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.8 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.6 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.4 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.2 pkgsrc-2010Q1-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.3 date 2011.12.31.17.14.16; author gdt; state dead; branches; next 1.2; 1.2 date 2010.03.05.14.55.21; author gdt; state Exp; branches; next 1.1; 1.1 date 2010.01.21.12.53.19; author adam; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2010.01.21.12.53.19; author adam; state Exp; branches; next ; desc @@ 1.3 log @Remove pkgsrc's attempt to force using libtool. Postgresql upstream does not use libtool. pkgsrc used to change postgresql to use libtool, and this package was written to use the pkgsrc-added libtool support. pkgsrc no longer modifies postgresql to use libtool, so postgis did not build. In addition to backing out all the make-postgis-use-libtool packages, this commit adds a patch to add rpath to the PGSQL_FE_LDFLAGS, which upstream hand constructs from pg_config output. PKGREVISION++, but no change in version or functionality (from the previous state, which also didn't build) intended. @ text @$NetBSD: patch-ac,v 1.2 2010/03/05 14:55:21 gdt Exp $ --- loader/Makefile.in.orig 2010-01-02 07:01:49.000000000 +0000 +++ loader/Makefile.in @@@@ -39,7 +39,7 @@@@ ICONV_LDFLAGS=@@ICONV_LDFLAGS@@ ICONV_CFLAGS=@@ICONV_CFLAGS@@ # liblwgeom -LIBLWGEOM=../liblwgeom/liblwgeom.a +LIBLWGEOM=../liblwgeom/liblwgeom.la # GTK includes and libraries GTK_CFLAGS = @@GTK_CFLAGS@@ @@@@ -79,16 +79,16 @@@@ pgsql2shp.o: pgsql2shp.c $(CC) $(CFLAGS) $(ICONV_CFLAGS) $(PGSQL_FE_CPPFLAGS) -c $< $(PGSQL2SHP): shpopen.o dbfopen.o getopt.o pgsql2shp.o $(LIBLWGEOM) - $(CC) $(CFLAGS) $^ $(ICONV_LDFLAGS) $(PGSQL_FE_LDFLAGS) -lm -o $@@ + ${LIBTOOL} --mode=link $(CC) $(CFLAGS) $^ $(ICONV_LDFLAGS) $(PGSQL_FE_LDFLAGS) -lm -o $@@ $(SHP2PGSQL-CLI): stringbuffer.o shpopen.o dbfopen.o getopt.o shp2pgsql-core.o shp2pgsql-cli.o $(LIBLWGEOM) - $(CC) $(CFLAGS) $^ -o $@@ $(ICONV_LDFLAGS) -lm + ${LIBTOOL} --mode=link $(CC) $(CFLAGS) $^ -o $@@ $(ICONV_LDFLAGS) -lm shp2pgsql-gui.o: shp2pgsql-gui.c $(CC) $(CFLAGS) $(PGSQL_FE_CPPFLAGS) $(GTK_CFLAGS) -o $@@ -c shp2pgsql-gui.c $(SHP2PGSQL-GUI): stringbuffer.o shpopen.o dbfopen.o shp2pgsql-core.o shp2pgsql-gui.o getopt.o $(LIBLWGEOM) $(GTK_WIN32_RES) - $(CC) $(CFLAGS) $(GTK_WIN32_FLAGS) $^ -o $@@ $(GTK_LIBS) $(ICONV_LDFLAGS) $(PGSQL_FE_LDFLAGS) -lm + ${LIBTOOL} --mode=link $(CC) $(CFLAGS) $(GTK_WIN32_FLAGS) $^ -o $@@ $(GTK_LIBS) $(ICONV_LDFLAGS) $(PGSQL_FE_LDFLAGS) -lm installdir: @@mkdir -p $(DESTDIR)$(bindir) @@@@ -97,8 +97,8 @@@@ install: installdir ifdef gtk_build $(INSTALL) $(SHP2PGSQL-GUI) $(DESTDIR)$(bindir) endif - $(INSTALL) $(PGSQL2SHP) $(DESTDIR)$(bindir) - $(INSTALL) $(SHP2PGSQL-CLI) $(DESTDIR)$(bindir) + ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} $(PGSQL2SHP) $(DESTDIR)$(bindir) + ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} $(SHP2PGSQL-CLI) $(DESTDIR)$(bindir) uninstall: @@rm -f $(DESTDIR)$(bindir)/$(PGSQL2SHP) @ 1.2 log @Update to 1.5.0. Some rough edges due to pkgsrc's replacement of pgsql's Makefile.shlib are patched around. ('make test' passes on netbsd-5/i386 with postgresql84.) This is a major release adding a significant number of new features including: * New "geography" type for managing geodetic (lat/lon) data * Performance-enhanced distance calculations * GML and KML format readers * Improved shape loading GUI * And more! Release Notes Important Changes * =~ operator now indicates bounding box equality, not feature equality * GEOS 3.1 is now the minimum accepted version of GEOS * GEOS 3.2 is needed if you want to use enhanced buffering features and ST_HausdorffDistance * GEOS, LibXML2, and Proj4 are now mandatory dependencies New Features * Added Hausdorff distance calculations (#209) (Vincent Picavet) * Added parameters argument to ST_Buffer operation to support one-sided buffering and other buffering styles (Sandro Santilli) * Performance improvements to ST_Distance (Nicklas Avén) * Addition of other Distance related visualization and analysis functions (Nicklas Avén) * ST_ClosestPoint * ST_DFullyWithin * ST_LongestLine * ST_MaxDistance * ST_ShortestLine * KML, GML input via ST_GeomFromGML and ST_GeomFromKML (Olivier Courtin) * Extract homogeneous collection with ST_CollectionExtract (Paul Ramsey) * Add measure values to existing linestring with ST_AddMeasure (Paul Ramsey) * History table implementation in utils (George Silva) * Win32 support and improvement of core shp2pgsql-gui (Mark Cave-Ayland) * In place 'make check' support (Paul Ramsey) * Geography type and supporting functions o Spherical algorithms from Dave Skea o Object/index implementation from Paul Ramsey o Selectivitiy implementation from Mark Cave-Ayland o Serializations (KML, GML, JSON) from Olivier Courtin o ST_Area, ST_Distance, ST_DWithin, ST_GeogFromText, ST_GeogFromWKB, ST_Intersects, ST_Covers, ST_Buffer * Documentation updates and improvements (Regina Obe, Kevin Neufeld) * Testing and quality control (Regina Obe) * PostGIS 1.5 support PostgreSQL 8.5 trunk (Guillaume Lelarge) * Many, many other changes @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1.1.1 2010/01/21 12:53:19 adam Exp $ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- loader/Makefile.in.orig 2009-10-06 08:51:49.000000000 +0000 d5 2 a6 2 @@@@ -39,7 +39,7 @@@@ PGSQL_FE_LDFLAGS=@@PGSQL_FE_LDFLAGS@@ ICONV_LDFLAGS=@@ICONV_LDFLAGS@@ d14 2 a15 2 @@@@ -60,10 +60,10 @@@@ pgsql2shp.o: pgsql2shp.c $(CC) $(CFLAGS) $(PGSQL_FE_CPPFLAGS) -c $< d19 1 a19 1 + ${LIBTOOL} --mode=link $(CC) $(CFLAGS) $^ $(ICONV_LDFLAGS) $(PGSQL_FE_LDFLAGS) -lm -o $@@ d21 3 a23 3 $(SHP2PGSQL): shpopen.o dbfopen.o getopt.o shp2pgsql.o $(LIBLWGEOM) - $(CC) $(CFLAGS) $^ $(ICONV_LDFLAGS) -lm -o $@@ + ${LIBTOOL} --mode=link $(CC) $(CFLAGS) $^ $(ICONV_LDFLAGS) -lm -o $@@ d25 2 a26 3 shp2pgsql-core-gui.o: shp2pgsql-core.c $(CC) $(CFLAGS) -DPGUI -c -o $@@ $^ @@@@ -79,8 +79,8 @@@@ $(SHP2PGSQL-CLI): stringbuffer.o shpopen d28 5 a32 1 install: all d34 4 d39 1 a39 1 - $(INSTALL) $(SHP2PGSQL) $(DESTDIR)$(bindir) d41 1 a41 1 + ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} $(SHP2PGSQL) $(DESTDIR)$(bindir) @ 1.1.1.1 log @PostGIS adds support for geographic objects to the PostgreSQL object-relational database. In effect, PostGIS "spatially enables" the PostgreSQL server, allowing it to be used as a backend spatial database for geographic information systems (GIS), much like ESRI's SDE or Oracle's Spatial extension. PostGIS follows the OpenGIS "Simple Features Specification for SQL" and has been certified as compliant with the "Types and Functions" profile. PostGIS/PostgreSQL includes the following functionality: * Simple Features as defined by the OpenGIS Consortium (OGC) * Support for Well-Known Text and Well-Known Binary representations of GIS objects * Fast spatial indexing using GiST * Geospatial analysis functions * PostgreSQL JDBC extension objects corresponding to the geometries * Support for OGC access functions as defined by the Simple Features Specification @ text @@