3f0dd9b029
* configure/libtool/etc regenerated with newer versions. * Fix definition of CPL atomic function with CPL_INLINE undefined * Clean out remnants of old generation python support in configure * Fix build problems on systems with 64bit pointer and 32bit long * C#: Fixed ambiguous reference to SpatialReference in C# sample apps * C#: Fix crash on memory release of string from ExportToWkt() * Java: Handle transparency better in color tables * Python 2.x/3.0 compatability fixes for scripts * Python fixes for numpy array io * stateplane.csv updated for Kentuky and California fixes
28 lines
688 B
Makefile
28 lines
688 B
Makefile
# $NetBSD: options.mk,v 1.2 2010/08/27 11:14:23 adam Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.gdal-lib
|
|
PKG_SUPPORTED_OPTIONS= pgsql mysql sqlite
|
|
PKG_SUGGESTED_OPTIONS= pgsql
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mpgsql)
|
|
. include "../../mk/pgsql.buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-pg
|
|
.else
|
|
CONFIGURE_ARGS+= --without-pg
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mmysql)
|
|
. include "../../mk/mysql.buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-mysql
|
|
.else
|
|
CONFIGURE_ARGS+= --without-mysql
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Msqlite)
|
|
. include "../../databases/sqlite3/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-sqlite3=${BUILDLINK_PREFIX.sqlite3}
|
|
.else
|
|
CONFIGURE_ARGS+= --without-sqlite3
|
|
.endif
|