summaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-02-05 22:25:01 +0000
committerwiz <wiz@pkgsrc.org>2006-02-05 22:25:01 +0000
commitc6b48444e342f12ed7de0910f84dcc30ac7efd7b (patch)
treefadf7479cafff6057fe01f7366acba484d5a032b /finance
parent6df1d877c0014a5183cba2b09182d14c81e824d2 (diff)
downloadpkgsrc-c6b48444e342f12ed7de0910f84dcc30ac7efd7b.tar.gz
Initial import of libofx-0.8.0, based on the package provided by
Gary Duzan in PR 32439: This is the LibOFX library. It is a parser and an API designed to allow applications to very easily support OFX command responses, usually provided by financial institutions for statement downloads. To my knowledge, it is the first working OpenSource implementation of the OFX (Open Financial eXchange) specification on the client side.
Diffstat (limited to 'finance')
-rw-r--r--finance/libofx/DESCR6
-rw-r--r--finance/libofx/Makefile20
-rw-r--r--finance/libofx/PLIST243
-rw-r--r--finance/libofx/buildlink3.mk23
-rw-r--r--finance/libofx/distinfo9
-rw-r--r--finance/libofx/patches/patch-aa13
-rw-r--r--finance/libofx/patches/patch-ab12
-rw-r--r--finance/libofx/patches/patch-ac14
-rw-r--r--finance/libofx/patches/patch-ad13
9 files changed, 353 insertions, 0 deletions
diff --git a/finance/libofx/DESCR b/finance/libofx/DESCR
new file mode 100644
index 00000000000..607b2ef2640
--- /dev/null
+++ b/finance/libofx/DESCR
@@ -0,0 +1,6 @@
+This is the LibOFX library. It is a parser and an API designed to
+allow applications to very easily support OFX command responses,
+usually provided by financial institutions for statement downloads.
+To my knowledge, it is the first working OpenSource implementation
+of the OFX (Open Financial eXchange) specification on the client
+side.
diff --git a/finance/libofx/Makefile b/finance/libofx/Makefile
new file mode 100644
index 00000000000..8d70658683d
--- /dev/null
+++ b/finance/libofx/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/02/05 22:25:01 wiz Exp $
+#
+
+DISTNAME= libofx-0.8.0
+CATEGORIES= finance devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libofx/}
+
+MAINTAINER= gary@duzan.org
+HOMEPAGE= http://libofx.sourceforge.net/
+COMMENT= OFX (Open Financial eXchange) Library
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-opensp-includes=${BUILDLINK_PREFIX.opensp}/include/OpenSP \
+ --with-opensp-libs=${BUILDLINK_PREFIX.opensp}/libs
+
+USE_LIBTOOL= yes
+
+.include "../../textproc/opensp/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/finance/libofx/PLIST b/finance/libofx/PLIST
new file mode 100644
index 00000000000..bdcbd3b4556
--- /dev/null
+++ b/finance/libofx/PLIST
@@ -0,0 +1,243 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/02/05 22:25:01 wiz Exp $
+bin/ofx2qif
+bin/ofxconnect
+bin/ofxdump
+include/libofx/libofx.h
+lib/libofx.la
+share/doc/libofx/AUTHORS
+share/doc/libofx/COPYING
+share/doc/libofx/ChangeLog
+share/doc/libofx/INSTALL
+share/doc/libofx/NEWS
+share/doc/libofx/README
+share/doc/libofx/totest.txt
+share/doc/libofx/html/ftv2vertline.png
+share/doc/libofx/html/doxygen.css
+share/doc/libofx/html/main.html
+share/doc/libofx/html/files.html
+share/doc/libofx/html/fx-0_88_80_2lib_2context_8cpp-source.html
+share/doc/libofx/html/ofxconnect_2cmdline_8c-source.html
+share/doc/libofx/html/ofxdump_2cmdline_8c-source.html
+share/doc/libofx/html/ofxconnect_2cmdline_8h-source.html
+share/doc/libofx/html/ofxdump_2cmdline_8h-source.html
+share/doc/libofx/html/config_8h-source.html
+share/doc/libofx/html/context_8cpp-source.html
+share/doc/libofx/html/context_8hh-source.html
+share/doc/libofx/html/inc_2libofx_8h-source.html
+share/doc/libofx/html/file__preproc_8cpp-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofc__sgml_8hh-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2context_8hh-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2file__preproc_8cpp-source.html
+share/doc/libofx/html/file__preproc_8hh-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2file__preproc_8hh-source.html
+share/doc/libofx/html/getopt_8c-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2getopt_8c-source.html
+share/doc/libofx/html/getopt1_8c-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2getopt1_8c-source.html
+share/doc/libofx/html/gnugetopt_8h-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2gnugetopt_8h-source.html
+share/doc/libofx/html/index.html
+share/doc/libofx/html/main__doc_8c-source.html
+share/doc/libofx/html/libofx-0_88_80_2inc_2libofx_8h-source.html
+share/doc/libofx/html/messages_8cpp-source.html
+share/doc/libofx/html/messages_8hh-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2messages_8cpp-source.html
+share/doc/libofx/html/ofc__sgml_8cpp-source.html
+share/doc/libofx/html/ofx2qif_8c-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2messages_8hh-source.html
+share/doc/libofx/html/ofc__sgml_8hh-source.html
+share/doc/libofx/html/ofx__container__main_8cpp-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofc__sgml_8cpp-source.html
+share/doc/libofx/html/ofx2qif_8c.html
+share/doc/libofx/html/ofx__aggregate_8hh-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__container__main_8cpp-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__aggregate_8hh-source.html
+share/doc/libofx/html/ofx__container__account_8cpp-source.html
+share/doc/libofx/html/ofx__container__generic_8cpp-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__container__account_8cpp-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__container__transaction_8cpp-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__container__generic_8cpp-source.html
+share/doc/libofx/html/ofx__containers_8hh-source.html
+share/doc/libofx/html/ofx__container__security_8cpp-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__container__security_8cpp-source.html
+share/doc/libofx/html/ofx__container__statement_8cpp-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__container__statement_8cpp-source.html
+share/doc/libofx/html/ofx__container__transaction_8cpp-source.html
+share/doc/libofx/html/ofx__containers__misc_8cpp-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__containers_8hh-source.html
+share/doc/libofx/html/ofx__error__msg_8hh-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__request_8cpp-source.html
+share/doc/libofx/html/annotated.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__containers__misc_8cpp-source.html
+share/doc/libofx/html/ofx__preproc_8cpp-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__error__msg_8hh-source.html
+share/doc/libofx/html/ofx__preproc_8hh-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__preproc_8cpp-source.html
+share/doc/libofx/html/ofx__request_8cpp-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__request__accountinfo_8cpp-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__preproc_8hh-source.html
+share/doc/libofx/html/ofx__utilities_8cpp-source.html
+share/doc/libofx/html/hierarchy.html
+share/doc/libofx/html/ofx__request_8hh-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__request_8hh-source.html
+share/doc/libofx/html/ofx__request__accountinfo_8cpp-source.html
+share/doc/libofx/html/ofx__request__accountinfo_8hh-source.html
+share/doc/libofx/html/ofx__request__statement_8cpp-source.html
+share/doc/libofx/html/ofx__sgml_8cpp-source.html
+share/doc/libofx/html/ofx__sgml_8hh-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__request__accountinfo_8hh-source.html
+share/doc/libofx/html/ofx__request__statement_8hh-source.html
+share/doc/libofx/html/inc_2libofx_8h.html
+share/doc/libofx/html/ofx__utilities_8hh-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__request__statement_8cpp-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__request__statement_8hh-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__utilities_8cpp-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__sgml_8cpp-source.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__sgml_8hh-source.html
+share/doc/libofx/html/ofxconnect_8cpp-source.html
+share/doc/libofx/html/file__preproc_8cpp.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__utilities_8hh-source.html
+share/doc/libofx/html/ofxdump_8cpp-source.html
+share/doc/libofx/html/tree_8hh-source.html
+share/doc/libofx/html/tree.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofc__sgml_8cpp.html
+share/doc/libofx/html/fx-0_88_80_2lib_2tree_8hh-source.html
+share/doc/libofx/html/file__preproc_8hh.html
+share/doc/libofx/html/fx-0_88_80_2lib_2file__preproc_8cpp.html
+share/doc/libofx/html/messages_8cpp.html
+share/doc/libofx/html/messages_8hh.html
+share/doc/libofx/html/fx-0_88_80_2lib_2file__preproc_8hh.html
+share/doc/libofx/html/ofc__sgml_8cpp.html
+share/doc/libofx/html/libofx-0_88_80_2inc_2libofx_8h.html
+share/doc/libofx/html/fx-0_88_80_2lib_2messages_8cpp.html
+share/doc/libofx/html/fx-0_88_80_2lib_2messages_8hh.html
+share/doc/libofx/html/ofx__container__main_8cpp.html
+share/doc/libofx/html/ofc__sgml_8hh.html
+share/doc/libofx/html/ofx__aggregate_8hh.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofc__sgml_8hh.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__container__main_8cpp.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__aggregate_8hh.html
+share/doc/libofx/html/ofx__container__account_8cpp.html
+share/doc/libofx/html/ofx__container__generic_8cpp.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__container__account_8cpp.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__container__transaction_8cpp.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__container__generic_8cpp.html
+share/doc/libofx/html/ofx__container__security_8cpp.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__container__security_8cpp.html
+share/doc/libofx/html/ofx__container__statement_8cpp.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__container__statement_8cpp.html
+share/doc/libofx/html/ofx__container__transaction_8cpp.html
+share/doc/libofx/html/ofx__containers__misc_8cpp.html
+share/doc/libofx/html/ofx__containers_8hh.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__containers__misc_8cpp.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__containers_8hh.html
+share/doc/libofx/html/ofx__error__msg_8hh.html
+share/doc/libofx/html/classOfxAccountContainer.html
+share/doc/libofx/html/ofx__preproc_8cpp.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__error__msg_8hh.html
+share/doc/libofx/html/ofx__preproc_8hh.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__preproc_8cpp.html
+share/doc/libofx/html/ofx__request_8cpp.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__preproc_8hh.html
+share/doc/libofx/html/ofx__request_8hh.html
+share/doc/libofx/html/ofx__sgml_8cpp.html
+share/doc/libofx/html/ofx__sgml_8hh.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__request_8cpp.html
+share/doc/libofx/html/ofx__request__accountinfo_8hh.html
+share/doc/libofx/html/dir_000003.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__request_8hh.html
+share/doc/libofx/html/ofx__request__accountinfo_8cpp.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__request__accountinfo_8cpp.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__request__accountinfo_8hh.html
+share/doc/libofx/html/ofx__request__statement_8cpp.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__request__statement_8cpp.html
+share/doc/libofx/html/ofx__request__statement_8hh.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__request__statement_8hh.html
+share/doc/libofx/html/ofx__utilities_8cpp.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__sgml_8cpp.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__sgml_8hh.html
+share/doc/libofx/html/ofx__utilities_8hh.html
+share/doc/libofx/html/ftv2doc.png
+share/doc/libofx/html/ofxconnect_8cpp.html
+share/doc/libofx/html/ofxdump_8cpp.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__utilities_8cpp.html
+share/doc/libofx/html/fx-0_88_80_2lib_2ofx__utilities_8hh.html
+share/doc/libofx/html/functions.html
+share/doc/libofx/html/functions_func.html
+share/doc/libofx/html/functions_vars.html
+share/doc/libofx/html/functions_enum.html
+share/doc/libofx/html/functions_eval.html
+share/doc/libofx/html/structErrorMsg.html
+share/doc/libofx/html/classOFCApplication.html
+share/doc/libofx/html/classOfxAccountInfoRequest.html
+share/doc/libofx/html/classOfxAccountContainer.png
+share/doc/libofx/html/structOfxAccountData.html
+share/doc/libofx/html/structOfxFiLogin.html
+share/doc/libofx/html/structOfxAccountInfo.html
+share/doc/libofx/html/classOfxBankTransactionContainer.html
+share/doc/libofx/html/classOfxAccountInfoRequest.png
+share/doc/libofx/html/classOfxAggregate.html
+share/doc/libofx/html/classOfxAggregate.png
+share/doc/libofx/html/classOFXApplication.html
+share/doc/libofx/html/classOfxBalanceContainer.html
+share/doc/libofx/html/classOfxBalanceContainer.png
+share/doc/libofx/html/classOfxInvestmentTransactionContainer.html
+share/doc/libofx/html/classOfxBankTransactionContainer.png
+share/doc/libofx/html/structOfxCurrency.html
+share/doc/libofx/html/classOfxDummyContainer.html
+share/doc/libofx/html/classOfxDummyContainer.png
+share/doc/libofx/html/classOfxGenericContainer.html
+share/doc/libofx/html/classOfxGenericContainer.png
+share/doc/libofx/html/classOfxInvestmentTransactionContainer.png
+share/doc/libofx/html/classOfxMainContainer.html
+share/doc/libofx/html/classOfxMainContainer.png
+share/doc/libofx/html/classOfxPushUpContainer.html
+share/doc/libofx/html/classOfxPushUpContainer.png
+share/doc/libofx/html/classOfxRequest.html
+share/doc/libofx/html/classOfxRequest.png
+share/doc/libofx/html/classOfxSecurityContainer.html
+share/doc/libofx/html/classOfxSecurityContainer.png
+share/doc/libofx/html/structOfxSecurityData.html
+share/doc/libofx/html/globals_func.html
+share/doc/libofx/html/dir_000006.html
+share/doc/libofx/html/classOfxStatementContainer.html
+share/doc/libofx/html/classOfxStatementContainer.png
+share/doc/libofx/html/structOfxStatementData.html
+share/doc/libofx/html/classOfxStatementRequest.html
+share/doc/libofx/html/classOfxStatementRequest.png
+share/doc/libofx/html/classOfxStatusContainer.html
+share/doc/libofx/html/classOfxStatusContainer.png
+share/doc/libofx/html/structOfxStatusData.html
+share/doc/libofx/html/classOfxTransactionContainer.png
+share/doc/libofx/html/classOfxTransactionContainer.html
+share/doc/libofx/html/structOfxTransactionData.html
+share/doc/libofx/html/dir_000005.html
+share/doc/libofx/html/dir_000004.html
+share/doc/libofx/html/dir_000002.html
+share/doc/libofx/html/dir_000007.html
+share/doc/libofx/html/dir_000000.html
+share/doc/libofx/html/dir_000001.html
+share/doc/libofx/html/globals.html
+share/doc/libofx/html/globals_vars.html
+share/doc/libofx/html/globals_enum.html
+share/doc/libofx/html/globals_eval.html
+share/doc/libofx/html/ftv2blank.png
+share/doc/libofx/html/ftv2folderclosed.png
+share/doc/libofx/html/ftv2folderopen.png
+share/doc/libofx/html/ftv2lastnode.png
+share/doc/libofx/html/ftv2link.png
+share/doc/libofx/html/ftv2mlastnode.png
+share/doc/libofx/html/ftv2mnode.png
+share/doc/libofx/html/ftv2node.png
+share/doc/libofx/html/ftv2plastnode.png
+share/doc/libofx/html/ftv2pnode.png
+share/doc/libofx/html/doxygen.png
+share/libofx/dtd/ofc.dtd
+share/libofx/dtd/ofx160.dtd
+share/libofx/dtd/ofx201.dtd
+share/libofx/dtd/opensp.dcl
+@dirrm share/libofx/dtd
+@dirrm share/libofx
+@dirrm share/doc/libofx/html
+@dirrm share/doc/libofx
+@dirrm include/libofx
diff --git a/finance/libofx/buildlink3.mk b/finance/libofx/buildlink3.mk
new file mode 100644
index 00000000000..47f8ff7d95c
--- /dev/null
+++ b/finance/libofx/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/02/05 22:25:01 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBOFX_BUILDLINK3_MK:= ${OPENSP_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libofx
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibofx}
+BUILDLINK_PACKAGES+= libofx
+
+.if !empty(LIBOFX_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libofx+= libofx>=0.8.0
+BUILDLINK_PKGSRCDIR.libofx?= ../../finance/libofx
+.endif # LIBOFX_BUILDLINK3_MK
+
+BUILDLINK_INCDIRS.libofx+= include/libofx
+
+.include "../../textproc/opensp/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/finance/libofx/distinfo b/finance/libofx/distinfo
new file mode 100644
index 00000000000..77c32cf9b88
--- /dev/null
+++ b/finance/libofx/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/02/05 22:25:01 wiz Exp $
+
+SHA1 (libofx-0.8.0.tar.gz) = 38c2782ed50bd3dd2e89ec3b7c4f3f3611ea44d2
+RMD160 (libofx-0.8.0.tar.gz) = b4b6f7562a2435e465f8bc40c4a338082b82d901
+Size (libofx-0.8.0.tar.gz) = 748496 bytes
+SHA1 (patch-aa) = 43d4e2801e08275c99c1421a0b45792331b86528
+SHA1 (patch-ab) = 55c30b5246614767a75b4056a5421344b81af957
+SHA1 (patch-ac) = ea2c94bd3b6d2620e57b7a9bac91c832747a2104
+SHA1 (patch-ad) = 804898e9619f9da2d4fec76182022a0dfcb5aff2
diff --git a/finance/libofx/patches/patch-aa b/finance/libofx/patches/patch-aa
new file mode 100644
index 00000000000..1bb91d838b1
--- /dev/null
+++ b/finance/libofx/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/02/05 22:25:01 wiz Exp $
+
+--- lib/ofx_preproc.cpp.orig 2006-01-02 11:57:37.000000000 -0500
++++ lib/ofx_preproc.cpp 2006-01-02 11:58:09.000000000 -0500
+@@ -204,7 +204,7 @@
+ string s_buffer;
+ char *filenames[3];
+ char tmp_filename[50];
+- unsigned int pos;
++ string::size_type pos;
+ LibofxContext *libofx_context;
+
+ libofx_context=(LibofxContext*)ctx;
diff --git a/finance/libofx/patches/patch-ab b/finance/libofx/patches/patch-ab
new file mode 100644
index 00000000000..54ff684a280
--- /dev/null
+++ b/finance/libofx/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2006/02/05 22:25:01 wiz Exp $
+
+--- ofxconnect/Makefile.am.orig 2005-07-31 14:34:30.000000000 -0400
++++ ofxconnect/Makefile.am 2006-01-02 12:38:51.000000000 -0500
+@@ -1,5 +1,6 @@
+ bin_PROGRAMS = ofxconnect
+-ofxconnect_LDADD = $(top_builddir)/lib/libofx.la -L/usr/lib -lcurl -lz -lssl -lcrypto -ldl
++ofxconnect_LDADD = $(top_builddir)/lib/libofx.la
++ofxconnect_LDFLAGS = `curl-config --libs`
+ ofxconnect_SOURCES = cmdline.h cmdline.c ofxconnect.cpp
+
+ AM_CPPFLAGS = \
diff --git a/finance/libofx/patches/patch-ac b/finance/libofx/patches/patch-ac
new file mode 100644
index 00000000000..0481d85a73a
--- /dev/null
+++ b/finance/libofx/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1.1.1 2006/02/05 22:25:01 wiz Exp $
+
+--- ofxconnect/Makefile.in.orig 2005-07-31 18:34:47.000000000 +0000
++++ ofxconnect/Makefile.in
+@@ -201,7 +199,8 @@ sbindir = @sbindir@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+-ofxconnect_LDADD = $(top_builddir)/lib/libofx.la -L/usr/lib -lcurl -lz -lssl -lcrypto -ldl
++ofxconnect_LDADD = $(top_builddir)/lib/libofx.la
++ofxconnect_LDFLAGS = `curl-config --libs`
+ ofxconnect_SOURCES = cmdline.h cmdline.c ofxconnect.cpp
+ AM_CPPFLAGS = \
+ -I${top_srcdir}/inc
diff --git a/finance/libofx/patches/patch-ad b/finance/libofx/patches/patch-ad
new file mode 100644
index 00000000000..fff0b051694
--- /dev/null
+++ b/finance/libofx/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2006/02/05 22:25:01 wiz Exp $
+
+--- lib/Makefile.in.orig 2005-07-31 18:21:10.000000000 +0000
++++ lib/Makefile.in
+@@ -250,7 +250,7 @@ AM_CPPFLAGS = \
+ -I${OPENSPINCLUDES} \
+ -DMAKEFILE_DTD_PATH=\"${LIBOFX_DTD_DIR}/\"
+
+-libofx_la_LIBADD = @LIBOBJ@ ${OPENSPLIBS} -lstdc++
++libofx_la_LIBADD = ${OPENSPLIBS} -lstdc++
+ libofx_la_LDFLAGS = -version-info @LIBOFX_SO_CURRENT@:@LIBOFX_SO_REVISION@:@LIBOFX_SO_AGE@
+ all: all-am
+