diff options
-rw-r--r-- | finance/gnucash/Makefile | 4 | ||||
-rw-r--r-- | finance/gnucash/options.mk | 11 |
2 files changed, 9 insertions, 6 deletions
diff --git a/finance/gnucash/Makefile b/finance/gnucash/Makefile index 29e405e70c3..e4d310678db 100644 --- a/finance/gnucash/Makefile +++ b/finance/gnucash/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.319 2022/06/28 11:33:52 wiz Exp $ +# $NetBSD: Makefile,v 1.320 2022/08/08 10:29:33 wiz Exp $ DISTNAME= gnucash-4.11 PKGREVISION= 1 @@ -13,8 +13,6 @@ COMMENT= Personal or business finance management program LICENSE= gnu-gpl-v3 DEPENDS+= guile30-slib>=3.2.1:../../devel/guile30-slib -DEPENDS+= p5-Finance-Quote-[0-9]*:../../finance/p5-Finance-Quote -DEPENDS+= p5-Date-Manip-[0-9]*:../../devel/p5-Date-Manip DEPENDS+= dconf-[0-9]*:../../devel/dconf GCC_REQD+= 8 diff --git a/finance/gnucash/options.mk b/finance/gnucash/options.mk index f1cbee9a69b..383b1b6e036 100644 --- a/finance/gnucash/options.mk +++ b/finance/gnucash/options.mk @@ -1,11 +1,16 @@ -# $NetBSD: options.mk,v 1.4 2018/04/09 08:47:35 wiz Exp $ +# $NetBSD: options.mk,v 1.5 2022/08/08 10:29:33 wiz Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.gnucash -PKG_SUPPORTED_OPTIONS= libdbi libofx python -PKG_SUGGESTED_OPTIONS= libdbi libofx python +PKG_SUPPORTED_OPTIONS= libdbi libofx gnucash-finance-quote python +PKG_SUGGESTED_OPTIONS= libdbi libofx gnucash-finance-quote python .include "../../mk/bsd.options.mk" +.if !empty(PKG_OPTIONS:Mgnucash-finance-quote) +DEPENDS+= p5-Finance-Quote-[0-9]*:../../finance/p5-Finance-Quote +DEPENDS+= p5-Date-Manip-[0-9]*:../../devel/p5-Date-Manip +.endif + .if !empty(PKG_OPTIONS:Mlibofx) CMAKE_ARGS+= -DWITH_OFX=ON PLIST_SRC+= PLIST.ofx |