[Buildroot] [PATCH v2 6/8] package/mpd: enable support for libnfs
Jörg Krause
jkrause at posteo.de
Fri Oct 17 23:02:52 UTC 2014
On 10/18/2014 12:15 AM, Arnout Vandecappelle wrote:
> On 16/10/14 12:57, Jörg Krause wrote:
>> Dear Thomas Petazzoni,
>>
>> On 10/16/2014 11:44 AM, Thomas Petazzoni wrote:
>>> Dear Jörg Krause,
> [snip]
>>> *) $(STAGING_DIR)/usr/lib/pkgconfig is already the default search path
>>> for our pkg-config, so there should be no need to make this tuning.
>>> Which problem have you seen?
>> Without this mpd configuration check does not find libnfs although it is build
>> successfully.
>>
>> checking for NFS... no
>> configure: error: NFS input plugin: libnfs not found
> Actually, we set PKG_CONFIG_LIBDIR to this directory, and PKG_CONFIG_PATH takes
> precedence over PKG_CONFIG_LIBDIR. I have no idea why we do it that way... But
> it means that if the package sets PKG_CONFIG_PATH to /usr/lib/pkg-config, it
> will override our setting.
You're right! The problem is that in version 1.8.0 of libnfs the
following is set in libnfs.pc.in:
-Requires.private: @LIBNFS_PC_REQ_PRIVATE@
This is fixed by an upstream patch after the release 1.8.0:
https://github.com/sahlberg/libnfs/commit/d47c989d886e5398143d43d3b6d25fdf7210cb11
>> Maybe I should do this?:
>> MPD_MAKE_ENV = PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig"
> That looks better, indeed. Except, it should probably be MPD_CONF_ENV.
>
Not necessary anymore, bumping to version 1.9.5 solved this issue:
http://git.buildroot.net/buildroot/commit/?id=28b163f3162c91afaed1e5c5c59d10d18cfa7dbc
Best regards
Jörg Krause
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20141018/e2f9e97a/attachment-0002.html>
More information about the buildroot
mailing list