From f0ae234b31db58a4c2cf052269fe74daf80914ae Mon Sep 17 00:00:00 2001 From: jnemeth Date: Tue, 30 Aug 2016 04:13:13 +0000 Subject: Add libdbi option and enable it by default. libdbi is similar to p5-DBI in that it provides a database independent interface that can be use to access a variety of different types of database servers. Approved By: wiz --- finance/gnucash/options.mk | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'finance/gnucash/options.mk') diff --git a/finance/gnucash/options.mk b/finance/gnucash/options.mk index ee8e2b5ebb5..bef7b64d39e 100644 --- a/finance/gnucash/options.mk +++ b/finance/gnucash/options.mk @@ -1,12 +1,12 @@ -# $NetBSD: options.mk,v 1.2 2016/02/01 13:51:47 wiz Exp $ +# $NetBSD: options.mk,v 1.3 2016/08/30 04:13:13 jnemeth Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.gnucash -PKG_SUPPORTED_OPTIONS= libofx -PKG_SUGGESTED_OPTIONS= libofx +PKG_SUPPORTED_OPTIONS= libdbi libofx +PKG_SUGGESTED_OPTIONS= libdbi libofx .include "../../mk/bsd.options.mk" -PLIST_VARS+= ofx +PLIST_VARS+= dbi ofx .if !empty(PKG_OPTIONS:Mlibofx) PLIST.ofx= yes @@ -14,3 +14,11 @@ PLIST.ofx= yes .else CONFIGURE_ARGS+= --disable-ofx .endif + +.if !empty(PKG_OPTIONS:Mlibdbi) +CONFIGURE_ARGS+= --enable-dbi +PLIST.dbi= yes +.include "../../databases/libdbi/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-dbi +.endif -- cgit v1.2.3