pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/finance/gnucash



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Aug  8 10:29:33 UTC 2022

Modified Files:
        pkgsrc/finance/gnucash: Makefile options.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.319 -r1.320 pkgsrc/finance/gnucash/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/finance/gnucash/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/finance/gnucash/Makefile
diff -u pkgsrc/finance/gnucash/Makefile:1.319 pkgsrc/finance/gnucash/Makefile:1.320
--- pkgsrc/finance/gnucash/Makefile:1.319       Tue Jun 28 11:33:52 2022
+++ pkgsrc/finance/gnucash/Makefile     Mon Aug  8 10:29:33 2022
@@ -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 m
 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

Index: pkgsrc/finance/gnucash/options.mk
diff -u pkgsrc/finance/gnucash/options.mk:1.4 pkgsrc/finance/gnucash/options.mk:1.5
--- pkgsrc/finance/gnucash/options.mk:1.4       Mon Apr  9 08:47:35 2018
+++ pkgsrc/finance/gnucash/options.mk   Mon Aug  8 10:29:33 2022
@@ -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