pkgsrc/finance/gnucash/options.mk
jnemeth ead65a5bf5 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
2016-08-30 04:13:13 +00:00

24 lines
540 B
Makefile

# $NetBSD: options.mk,v 1.3 2016/08/30 04:13:13 jnemeth Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gnucash
PKG_SUPPORTED_OPTIONS= libdbi libofx
PKG_SUGGESTED_OPTIONS= libdbi libofx
.include "../../mk/bsd.options.mk"
PLIST_VARS+= dbi ofx
.if !empty(PKG_OPTIONS:Mlibofx)
PLIST.ofx= yes
.include "../../finance/libofx/buildlink3.mk"
.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