Daniel,

I looked at several other protocol modules, and all of them use
$(libdir) for their pkgconfig files.

I'm building a self-contained binary distribution which includes
several libraries from x.org, and libxtrans is the only module with
such problem. I don't add share/pkgconfig to PKG_CONFIG_PATH, and it
is fine in all cases except this one. Te disto consists of more than
100 packages, many of which use pkg-config.

Specifically, libX11 configure fails without moving xtrans.pc to
$(prefix)/lib/pkgconfig

Regards,
Dmitry

On Thu, Nov 17, 2011 at 3:28 PM, Daniel Stone <dan...@fooishbar.org> wrote:
> Hi,
>
> On 17 November 2011 11:10, Dmitry Shatrov <shat...@gmail.com> wrote:
>> --- a/Makefile.am
>> +++ b/Makefile.am
>> @@ -14,7 +14,7 @@ Xtransinclude_HEADERS = \
>>  aclocaldir = $(datadir)/aclocal
>>  aclocal_DATA = xtrans.m4
>>
>> -pkgconfigdir = $(datadir)/pkgconfig
>> +pkgconfigdir = $(libdir)/pkgconfig
>>  pkgconfig_DATA = xtrans.pc
>>
>>  MAINTAINERCLEANFILES = ChangeLog INSTALL
>
> Actually, no.  xtrans (despite the name) isn't actually
> architecture-dependent in any way: it just installs a bunch of source
> files to /usr/include.  So, like the protocol modules, its pkg-config
> can go in $(datadir).
>
> Cheers,
> Daniel
>
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to