summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2014-09-13 00:57:00 +0000
committergdt <gdt@pkgsrc.org>2014-09-13 00:57:00 +0000
commit61f907653cf10cb3bbe3e2f27f7576e40d371fc9 (patch)
treedfaf6ee00a2e400eea8fb55af47757d25d56d843 /geography
parentb16793ee9683bc8c924dd64916ccd35c4bd46229 (diff)
downloadpkgsrc-61f907653cf10cb3bbe3e2f27f7576e40d371fc9.tar.gz
Make pgsql option defult to off.
This option fixes a pgsql version, and we're not really set up to deal with that. It makes postgis only build for that one version. So far, I'm not aware of a reason to have pgsql support in gdal. So, just turn it off, and we can figure out a way to deal if there is actually a need. Discussed with Filip during postgis2 packaging, and I think suggested to Brook and Adam.
Diffstat (limited to 'geography')
-rw-r--r--geography/gdal-lib/Makefile4
-rw-r--r--geography/gdal-lib/options.mk11
2 files changed, 11 insertions, 4 deletions
diff --git a/geography/gdal-lib/Makefile b/geography/gdal-lib/Makefile
index 40ccd52f4a1..926f6ee6604 100644
--- a/geography/gdal-lib/Makefile
+++ b/geography/gdal-lib/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.68 2014/09/03 10:41:31 jperkin Exp $
+# $NetBSD: Makefile,v 1.69 2014/09/13 00:57:00 gdt Exp $
VERSION= 1.9.2
DISTNAME= gdal-${VERSION}
PKGNAME= gdal-lib-${VERSION}
-PKGREVISION= 10
+PKGREVISION= 11
CATEGORIES= geography
MASTER_SITES= http://download.osgeo.org/gdal/
diff --git a/geography/gdal-lib/options.mk b/geography/gdal-lib/options.mk
index 091ddda8ee2..16568f94311 100644
--- a/geography/gdal-lib/options.mk
+++ b/geography/gdal-lib/options.mk
@@ -1,8 +1,15 @@
-# $NetBSD: options.mk,v 1.2 2010/08/27 11:14:23 adam Exp $
+# $NetBSD: options.mk,v 1.3 2014/09/13 00:57:00 gdt Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gdal-lib
+
+# Note that these are not a mutually-exclusive group.
PKG_SUPPORTED_OPTIONS= pgsql mysql sqlite
-PKG_SUGGESTED_OPTIONS= pgsql
+# By default, omit database support, because there isn't an
+# articulated use case and dependency management becomes very painful.
+# For example, depending on pgsql fixes a version, but doesn't put it
+# in the name, and then building postgis fails for all but that one
+# chosen version.
+PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.options.mk"