On Tue, 2005-23-08 at 20:30 -0400, Gregory Symons wrote:
> Is there a way to fix this without adding -dlopen to LDFLAGS? I'd prefer
> to fix the root cause rather than the symptoms. And I'm avoiding
> learning the voodoo of libtool until someone pays me to do it;)
I had the same problem.. There is a patch in bugzilla [1]. First add the
config-ofx patch in the files/ dir and then patch the ebuild with the
ebuild patch.. and you should be set (you should probably do that in an
overlay)
[1] http://bugs.gentoo.org/show_bug.cgi?id=92634
--
Olivier CrĂȘte
[EMAIL PROTECTED]
Gentoo Developer
x86 Security Liaison
--- configure.in.orig 2005-07-19 22:21:42.000000000 -0400
+++ configure.in 2005-07-19 22:21:58.000000000 -0400
@@ -527,7 +527,7 @@
[ AC_MSG_ERROR([cannot find libofx header, needed for OFX support.]) ] )
fi
- LIBOFX_LIBS="${LIBOFX_LIBS} -lofx -lstdc++"
+ LIBOFX_LIBS="${LIBOFX_LIBS} -lofx"
AC_MSG_CHECKING(for libofx)
save_LIBS="${LIBS}"
LIBS="${LIBS} ${LIBOFX_LIBS}"
Index: gnucash-1.8.11.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/gnucash/gnucash-1.8.11.ebuild,v
retrieving revision 1.3
diff -b -u -1 -r1.3 gnucash-1.8.11.ebuild
--- gnucash-1.8.11.ebuild 5 Aug 2005 12:13:16 -0000 1.3
+++ gnucash-1.8.11.ebuild 24 Aug 2005 15:23:24 -0000
@@ -75,2 +75,10 @@
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-config-ofx.patch
+ autoconf
+}
+
src_compile() {
@@ -78,3 +86,4 @@
- append-ldflags -L/usr/X11R6/$(get_libdir)
+ [ -L "/usr/X11R6" ] || append-ldflags -L/usr/X11R6/$(get_libdir)
+
econf \