summaryrefslogtreecommitdiff
path: root/geography/gdal-lib/options.mk
diff options
context:
space:
mode:
authorgdt <gdt>2014-09-13 00:57:00 +0000
committergdt <gdt>2014-09-13 00:57:00 +0000
commit82e3e5fc72f5884f58fbcc7550df063dbbb9ae15 (patch)
treedfaf6ee00a2e400eea8fb55af47757d25d56d843 /geography/gdal-lib/options.mk
parentec031815724d96855956f7f30d3c03ad74d59e8d (diff)
downloadpkgsrc-82e3e5fc72f5884f58fbcc7550df063dbbb9ae15.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/gdal-lib/options.mk')
-rw-r--r--geography/gdal-lib/options.mk11
1 files changed, 9 insertions, 2 deletions
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"