Pierre-Emmanuel André [Fri, Feb 15, 2008 at 05:52:19PM +0100] wrote:
>Le Fri, 15 Feb 2008 17:16:51 +0100,
>Steven Mestdagh <[EMAIL PROTECTED]> a écrit :
>
>> Pierre-Emmanuel André [2008-02-15, 16:14:00]:
>> > Hi ports@,
>> >
>> > Homebank is a free, easy personal accounting application.
>> >
>> > Tests, comments are welcome
>>
>> Builds on amd64, but I think it needs to depend on librsvg to display
>> the svg icons properly and avoid this warning:
>>
>> (homebank:5514): Gtk-WARNING **: Error loading icon: Couldn't
>> recognize the image file format for file
>> '/usr/local/share/homebank/images/account.svg'
>
>new tarball available.
>I added :librsvg-*:x11/gnome/librsvg,no_gnome in RUN_DEPENDS
>
>I noticed that build fails if you have libofx installed...
>Some messages like this:
>
>/usr/local/lib/libofx.so.3.1: undefined reference to
>`SGMLApplication::nonSgmlChar(SGMLApplication::NonSgmlCharEventconst&)'
>/usr/local/lib/libofx.so.3.1:undefined reference
>to`SGMLApplication::subdocEntityRef(SGMLApplication::SubdocEntityRefEvent
>/usr/local/lib/libofx.so.3.1: undefined
>referenceto`SGMLApplication::pi(SGMLApplication::PiEventconst&)'
>/usr/local/lib/libofx.so.3.1:undefined
>referenceto`SGMLApplication::OpenEntityPtr::operator=(SGMLApplication::OpenEntity*)'
>
>/usr/local/lib/libofx.so.3.1:undefined reference
>to`SGMLApplication::~SGMLApplication[not-in-charge]()'
>
>I'm looking at this..
>
Apply the following patch.
Regards,
Bernd
$OpenBSD$
--- configure.orig Fri Feb 15 16:46:18 2008
+++ configure Fri Feb 15 16:46:50 2008
@@ -5543,7 +5543,7 @@ if test "${ac_cv_lib_ofx_ofx_set_status_cb+set}" = set
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lofx $LIBS"
+LIBS="`pkg-config --libs libofx` $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -5602,7 +5602,7 @@ if test $ac_cv_lib_ofx_ofx_set_status_cb = yes; then
OFX_0_7="-DOFX_0_7"
fi
- LDFLAGS="${LDFLAGS} -lofx"
+ LDFLAGS="${LDFLAGS} `pkg-config --libs libofx`"
CFLAGS="${CFLAGS} $OFX_0_7"
else
noofx=true