diff options
author | jnemeth <jnemeth> | 2016-08-30 04:13:13 +0000 |
---|---|---|
committer | jnemeth <jnemeth> | 2016-08-30 04:13:13 +0000 |
commit | f0ae234b31db58a4c2cf052269fe74daf80914ae (patch) | |
tree | 0bfaeed50daf0e6a83e6e6fae736156d1b5b047e /finance/gnucash/options.mk | |
parent | 2597b1cdd9e75ddd0886e75b0031e999573d01dd (diff) | |
download | pkgsrc-f0ae234b31db58a4c2cf052269fe74daf80914ae.tar.gz |
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
Diffstat (limited to 'finance/gnucash/options.mk')
-rw-r--r-- | finance/gnucash/options.mk | 16 |
1 files changed, 12 insertions, 4 deletions
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 |