pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/finance/gnucash gnucash: make p5-Finance-Quote optional
details: https://anonhg.NetBSD.org/pkgsrc/rev/6f57d804d01d
branches: trunk
changeset: 382914:6f57d804d01d
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Aug 08 10:29:33 2022 +0000
description:
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:
finance/gnucash/Makefile | 4 +---
finance/gnucash/options.mk | 11 ++++++++---
2 files changed, 9 insertions(+), 6 deletions(-)
diffs (41 lines):
diff -r 7b04edfc2a22 -r 6f57d804d01d finance/gnucash/Makefile
--- a/finance/gnucash/Makefile Mon Aug 08 10:11:57 2022 +0000
+++ b/finance/gnucash/Makefile Mon Aug 08 10:29:33 2022 +0000
@@ -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 @@
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 -r 7b04edfc2a22 -r 6f57d804d01d finance/gnucash/options.mk
--- a/finance/gnucash/options.mk Mon Aug 08 10:11:57 2022 +0000
+++ b/finance/gnucash/options.mk Mon Aug 08 10:29:33 2022 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index