2013-06-30 11:43:31 +02:00
|
|
|
# $NetBSD: options.mk,v 1.2 2013/06/30 09:43:31 ryoon Exp $
|
2011-10-11 14:43:50 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.a68g
|
|
|
|
PKG_SUPPORTED_OPTIONS= plotutils pgsql
|
2013-06-30 11:43:31 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS= plotutils
|
2011-10-11 14:43:50 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mplotutils)
|
|
|
|
. include "../../graphics/plotutils/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-plotutils
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-plotutils
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# It seems that when including PostgreSQL support it doesn't actually
|
|
|
|
# need to have it installed at build time, just at run time.
|
|
|
|
# So maybe this DEPENDS is undesirable.
|
|
|
|
.if !empty(PKG_OPTIONS:Mpgsql)
|
|
|
|
CONFIGURE_ARGS+= --with-pgsql
|
2013-06-30 11:43:31 +02:00
|
|
|
.include "../../mk/pgsql.buildlink3.mk"
|
2011-10-11 14:43:50 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-pgsql
|
|
|
|
.endif
|