0acaab10ba
Untested, but postgresql-postgis is gone.
40 lines
783 B
Makefile
40 lines
783 B
Makefile
# $NetBSD: options.mk,v 1.5 2016/07/07 08:57:06 wiz Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.mapserver
|
|
PKG_SUPPORTED_OPTIONS= fastcgi pgsql mysql x11
|
|
PKG_SUGGESTED_OPTIONS= x11
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
#
|
|
# FastCGI support
|
|
#
|
|
.if !empty(PKG_OPTIONS:Mfastcgi)
|
|
.include "../../www/fcgi/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-fastcgi
|
|
.endif
|
|
|
|
#
|
|
# PostgreSQL/PostGIS support
|
|
#
|
|
.if !empty(PKG_OPTIONS:Mpgsql)
|
|
.include "../../databases/postgresql-postgis2/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-postgis
|
|
.endif
|
|
|
|
#
|
|
# MySQL/MyGIS support
|
|
#
|
|
.if !empty(PKG_OPTIONS:Mmysql)
|
|
.include "../../mk/mysql.buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-mygis
|
|
.endif
|
|
|
|
#
|
|
# x11 (xpm) support
|
|
#
|
|
.if !empty(PKG_OPTIONS:Mx11)
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-xpm
|
|
.endif
|