Le Fri, 15 Feb 2008 18:01:52 +0100,
Bernd Ahlers <[EMAIL PROTECTED]> a écrit :

> 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
> 
> 

Steven, i forgot to thank you for your report... Sorry !!
Bernd: the patch works fine (same patch for grisbi). Thanks

So new tarball available:
1) add patch-configure
2) add  ofx.>=3::devel/libofx in LIB_DEPENDS
3) fix WANTLIB
4) update PLIST

New tarball available here:
http://openbsd.raveland.org/pub/OpenBSD/homebank-3.6.tgz

Tests and comments are always welcome :)

Regards,

Pea.

Reply via email to