aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2005-06-08 15:06:26 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2005-06-08 15:06:26 +0000
commit6fea1151dbaa0ab565f3571235e1cbebe894ac4d (patch)
tree460fc6e3c3da9291f4886611f525280cbde87f7f
parent80aa157ec01782c80d8310a4cba15d87b55e1654 (diff)
downloadports-6fea1151dbaa0ab565f3571235e1cbebe894ac4d.tar.gz
ports-6fea1151dbaa0ab565f3571235e1cbebe894ac4d.zip
Add AQBANKING option, fixes broken/incorrect dependency on openhbci.
PR: ports/78443 (prompted by) Submitted by: Peter Corneliu <pcc@gmx.net>
Notes
Notes: svn path=/head/; revision=137063
-rw-r--r--finance/gnucash-devel/Makefile9
-rw-r--r--finance/gnucash/Makefile9
2 files changed, 14 insertions, 4 deletions
diff --git a/finance/gnucash-devel/Makefile b/finance/gnucash-devel/Makefile
index 619246a98dc7..7b759bdab295 100644
--- a/finance/gnucash-devel/Makefile
+++ b/finance/gnucash-devel/Makefile
@@ -30,6 +30,8 @@ RUN_DEPENDS= ${LOCALBASE}/share/guile/slibcat:${PORTSDIR}/lang/slib-guile \
${SITE_PERL}/Finance/QuoteHist.pm:${PORTSDIR}/finance/p5-Finance-QuoteHist \
${X11BASE}/share/gnome/omf/gnucash-docs/gnucash-guide-C.omf:${PORTSDIR}/finance/gnucash-docs
+OPTIONS= AQBANKING "AqBanking support (HBCI/OpenHBCI)" off
+
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_XPM= yes
@@ -58,10 +60,13 @@ post-patch:
LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4
.endif
-.if exists(${LOCALBASE}/include/openhbci.h) || defined(WITH_OPENHBCI)
-LIB_DEPENDS+= openhbci.13:${PORTSDIR}/finance/openhbci \
+# WITH_OPENHBCI is old synonym for aqbanking option
+.if defined(WITH_AQBANKING) || defined(WITH_OPENHBCI)
+LIB_DEPENDS+= aqbanking.5:${PORTSDIR}/finance/aqbanking \
ktoblzcheck.1:${PORTSDIR}/finance/ktoblzcheck
CONFIGURE_ARGS+=--enable-hbci
+.else
+CONFIGURE_ARGS+=--disable-hbci
.endif
post-configure:
diff --git a/finance/gnucash/Makefile b/finance/gnucash/Makefile
index 619246a98dc7..7b759bdab295 100644
--- a/finance/gnucash/Makefile
+++ b/finance/gnucash/Makefile
@@ -30,6 +30,8 @@ RUN_DEPENDS= ${LOCALBASE}/share/guile/slibcat:${PORTSDIR}/lang/slib-guile \
${SITE_PERL}/Finance/QuoteHist.pm:${PORTSDIR}/finance/p5-Finance-QuoteHist \
${X11BASE}/share/gnome/omf/gnucash-docs/gnucash-guide-C.omf:${PORTSDIR}/finance/gnucash-docs
+OPTIONS= AQBANKING "AqBanking support (HBCI/OpenHBCI)" off
+
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_XPM= yes
@@ -58,10 +60,13 @@ post-patch:
LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4
.endif
-.if exists(${LOCALBASE}/include/openhbci.h) || defined(WITH_OPENHBCI)
-LIB_DEPENDS+= openhbci.13:${PORTSDIR}/finance/openhbci \
+# WITH_OPENHBCI is old synonym for aqbanking option
+.if defined(WITH_AQBANKING) || defined(WITH_OPENHBCI)
+LIB_DEPENDS+= aqbanking.5:${PORTSDIR}/finance/aqbanking \
ktoblzcheck.1:${PORTSDIR}/finance/ktoblzcheck
CONFIGURE_ARGS+=--enable-hbci
+.else
+CONFIGURE_ARGS+=--disable-hbci
.endif
post-configure: