diff options
author | wiz <wiz@pkgsrc.org> | 2022-08-08 10:29:33 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2022-08-08 10:29:33 +0000 |
commit | 6d4c153d1c0157087fbc09a8d1c1f3cf808d0b49 (patch) | |
tree | ede9ea127a0a55e38ef5a4dab20a08d7f241a71f /finance | |
parent | 40b66f57e2d08e102f53d4fb61af14bf150e46da (diff) | |
download | pkgsrc-6d4c153d1c0157087fbc09a8d1c1f3cf808d0b49.tar.gz |
gnucash: make p5-Finance-Quote optional
Default stays on; it is used if it's installed, but if not, just
stock quote fetching is disabled.
Diffstat (limited to 'finance')
-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 |