pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: problem when building chat/finch



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



Home | Main Index | Thread Index | Old Index