diff options
author | fhajny <fhajny@pkgsrc.org> | 2012-03-14 16:41:09 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2012-03-14 16:41:09 +0000 |
commit | 1ec2f49494b2dc297ec9ae580ba8aea2ca4730de (patch) | |
tree | e3171b65f35dcf84c8ab0c3208f7bb6df662f8e2 /databases/postgresql-postgis/patches | |
parent | 98bce36f6f57b2c08b9e021dbbbdb756be2fbdb1 (diff) | |
download | pkgsrc-1ec2f49494b2dc297ec9ae580ba8aea2ca4730de.tar.gz |
Fixed building with PostgreSQL>=9, works with any 8.x and 9.x version now.
Bumpe PKGREVISION.
Diffstat (limited to 'databases/postgresql-postgis/patches')
-rw-r--r-- | databases/postgresql-postgis/patches/patch-postgis_Makefile.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/databases/postgresql-postgis/patches/patch-postgis_Makefile.in b/databases/postgresql-postgis/patches/patch-postgis_Makefile.in new file mode 100644 index 00000000000..81d429b6959 --- /dev/null +++ b/databases/postgresql-postgis/patches/patch-postgis_Makefile.in @@ -0,0 +1,22 @@ +$NetBSD: patch-postgis_Makefile.in,v 1.1 2012/03/14 16:41:10 fhajny Exp $ + +Specify perl binary directly, rather than rely on PostgreSQL. +--- postgis/Makefile.in.orig 2010-01-08 22:48:29.000000000 +0000 ++++ postgis/Makefile.in +@@ -106,13 +106,13 @@ endif + sed 's,MODULE_PATHNAME,$$libdir/postgis-@POSTGIS_MAJOR_VERSION@.@POSTGIS_MINOR_VERSION@,g' $< >$@ + + postgis_upgrade_15_minor.sql: postgis.sql +- $(PERL) ../utils/postgis_proc_upgrade.pl $< 1.5 > $@ ++ $(PERL5) ../utils/postgis_proc_upgrade.pl $< 1.5 > $@ + + postgis_upgrade_14_to_15.sql: postgis.sql +- $(PERL) ../utils/postgis_proc_upgrade.pl $< 1.4 > $@ ++ $(PERL5) ../utils/postgis_proc_upgrade.pl $< 1.4 > $@ + + postgis_upgrade_13_to_15.sql: postgis.sql +- $(PERL) ../utils/postgis_proc_upgrade.pl $< 1.3 > $@ ++ $(PERL5) ../utils/postgis_proc_upgrade.pl $< 1.3 > $@ + + # Generate any .sql.in files from .sql.in.c files by running them through the C pre-processor + $(SQL_OBJS): %.in: %.in.c |