pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/geography/gdal-lib Make pgsql option defult to off.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3c6704b264d5
branches:  trunk
changeset: 639425:3c6704b264d5
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sat Sep 13 00:57:00 2014 +0000

description:
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:

 geography/gdal-lib/Makefile   |   4 ++--
 geography/gdal-lib/options.mk |  11 +++++++++--
 2 files changed, 11 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r cf434834131b -r 3c6704b264d5 geography/gdal-lib/Makefile
--- a/geography/gdal-lib/Makefile       Sat Sep 13 00:09:18 2014 +0000
+++ b/geography/gdal-lib/Makefile       Sat Sep 13 00:57:00 2014 +0000
@@ -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 -r cf434834131b -r 3c6704b264d5 geography/gdal-lib/options.mk
--- a/geography/gdal-lib/options.mk     Sat Sep 13 00:09:18 2014 +0000
+++ b/geography/gdal-lib/options.mk     Sat Sep 13 00:57:00 2014 +0000
@@ -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"
 



Home | Main Index | Thread Index | Old Index