Subject: Re: problem when building chat/finch
To: None <pkgsrc-users@NetBSD.org>
From: Roland Illig <rillig@NetBSD.org>
List: pkgsrc-users
Date: 12/01/2007 17:46:57
Jan Kryl wrote:
> Hi,
>
> I wasn't able to build finch (console front-end for libpurple), when
> libpurple had been built with dbus support. The linker could not find
> libdbus-glib-1 library (and it really wasn't present in work/.buildlink
> directory). I added the following in buildlink3.mk in chat/libpurple and
> it solved my problem:
>
> ...
>
> pkgbase := libpurple
> .include "../../mk/pkg-build-options.mk"
>
> .if !empty(PKG_BUILD_OPTIONS.libpurple:Mdbus)
> . include "../../sysutils/dbus/buildlink3.mk"
> . include "../../sysutils/dbus-glib/buildlink3.mk"
> .endif
>
> BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
>
>
> However my knowledge of pkgsrc is very limited and I don't know if this
> is appropriate fix. Please review.
It is the perfect patch, and therefore I committed it immediately.
Thanks for it.
Roland