summaryrefslogtreecommitdiff
path: root/databases/postgis/files/patch-lwgeom
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-12-28 21:10:57 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-12-28 21:10:57 +0000
commit0e4f2cc24d8b7af2d01c4e3b35b615714d0b2e99 (patch)
treeba2ebc1b5bac698e88a98358d1a596153ebccff4 /databases/postgis/files/patch-lwgeom
parentAdd p5-WebService-NoPaste 0.03, a pastebin web application to upload (diff)
[maintainer-update] Postgis upgrade from 1.0.6 to 1.1.0
Postgis upgrade from 1.0.6 to 1.1.0 . This release, includes new functionality, performance improvements and bug fixes. Highlights include: * Geometry building functions, including line merging, polygon creation and vertex manipulation, * Linear referencing functions, including support for measures, * Performance improvements to coordinate reference transformations PR: ports/91030 Submitted by: Anderson S. Ferreira <anderson@cnpm.embrapa.br>
Notes
Notes: svn path=/head/; revision=152299
Diffstat (limited to 'databases/postgis/files/patch-lwgeom')
-rw-r--r--databases/postgis/files/patch-lwgeom46
1 files changed, 8 insertions, 38 deletions
diff --git a/databases/postgis/files/patch-lwgeom b/databases/postgis/files/patch-lwgeom
index 4d32f7bc90c6..f582e2ea0094 100644
--- a/databases/postgis/files/patch-lwgeom
+++ b/databases/postgis/files/patch-lwgeom
@@ -1,41 +1,11 @@
---- lwgeom/Makefile Mon Apr 4 06:48:57 2005
-+++ lwgeom/Makefile Thu Apr 21 17:08:37 2005
-@@ -21,10 +21,10 @@
+--- lwgeom/Makefile Wed Dec 28 17:39:49 2005
++++ lwgeom/Makefile Wed Dec 28 17:41:22 2005
+@@ -128,7 +128,7 @@
+ $(PERL) ../utils/postgis_proc_upgrade.pl ../lwpostgis.sql > ../lwpostgis_upgrade.sql
- ifeq (${USE_VERSION},71)
- MODULE_FILENAME = $(LPATH)/$(shlib)
-- MODULE_INSTALLDIR = $(libdir)
-+ MODULE_INSTALLDIR = $(LIBDIR)
- else
- MODULE_FILENAME = $(LPATH)/$(shlib)
-- MODULE_INSTALLDIR = $(pkglibdir)
-+ MODULE_INSTALLDIR = $(LIBDIR)
- endif
+ ../lwpostgis.sql: lwpostgis.sql.in
+- cpp -P -traditional-cpp -DUSE_VERSION=$(USE_VERSION) $< | sed -e 's:@MODULE_FILENAME@:$(MODULE_FILENAME):g;s:@POSTGIS_VERSION@:$(POSTGIS_VERSION):g;s:@POSTGIS_SCRIPTS_VERSION@:$(SCRIPTS_VERSION):g;s/@POSTGIS_BUILD_DATE@/$(POSTGIS_BUILD_DATE)/g' | grep -v '^#' > $@
++ cpp -P -traditional-cpp -DUSE_VERSION=$(USE_VERSION) $< | sed -e 's:@MODULE_FILENAME@:$$libdir/liblwgeom.so.1:g;s:@POSTGIS_VERSION@:$(POSTGIS_VERSION):g;s:@POSTGIS_SCRIPTS_VERSION@:$(SCRIPTS_VERSION):g;s/@POSTGIS_BUILD_DATE@/$(POSTGIS_BUILD_DATE)/g' | grep -v '^#' > $@
- #---------------------------------------------------------------
-@@ -143,9 +143,9 @@
- install: all installdirs install-lwgeom-lib install-lwgeom-scripts
+ install: all install-lib-shared install-lwgeom-scripts
- install-lwgeom-scripts:
-- $(INSTALL_DATA) lwpostgis.sql $(DESTDIR)$(datadir)/contrib/lwpostgis.sql
-- $(INSTALL_DATA) ../spatial_ref_sys.sql $(DESTDIR)$(datadir)/contrib/spatial_ref_sys.sql
-- $(INSTALL_DATA) ../README.postgis $(DESTDIR)$(docdir)/contrib/README.postgis
-+ $(INSTALL_DATA) lwpostgis.sql $(DESTDIR)$(DATADIR)/lwpostgis.sql
-+ $(INSTALL_DATA) ../spatial_ref_sys.sql $(DESTDIR)$(DATADIR)/spatial_ref_sys.sql
-+ $(INSTALL_DATA) ../README.postgis $(DESTDIR)$(DATADIR)/README.postgis
- $(INSTALL_DATA) ../doc/man/pgsql2shp.1 $(DESTDIR)$(mandir)/man1/pgsql2shp.1
- $(INSTALL_DATA) ../doc/man/shp2pgsql.1 $(DESTDIR)$(mandir)/man1/shp2pgsql.1
-
-@@ -171,9 +171,9 @@
- sh ../geos_version.sh $(GEOS_DIR) > postgis_geos_version.h
-
- installdirs:
-- $(mkinstalldirs) $(DESTDIR)$(MODULE_INSTALLDIR)
-- $(mkinstalldirs) $(DESTDIR)$(datadir)/contrib
-- $(mkinstalldirs) $(DESTDIR)$(docdir)/contrib
-+ $(mkinstalldirs) $(LIBDIR)
-+ $(mkinstalldirs) $(DATADIR)
-+ $(mkinstalldirs) $(DOCSDIR)
-
- uninstall-lwgeom-scripts:
- rm -f $(DESTDIR)$(datadir)/contrib/lwpostgis.sql