pkg-config head libs

Ilya A. Arhipov micro at heavennet.ru
Sat Jan 8 11:25:16 UTC 2011


2011/1/7 Ilya A. Arhipov <micro at heavennet.ru>

> Hi ports@
> in openttd 1.1beta* include lzma.
> detect_lzma have pkg-config liblzma --modversion
>
> %uname -rm
> 7.2-RELEASE amd64
> %pkg-config liblzma --modversion
> 4.999.9beta
>
> %uname -rm
> 9.0-CURRENT amd64
> %pkg-config liblzma --modversion
> Package liblzma was not found in the pkg-config search path.
> Perhaps you should add the directory containing `liblzma.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'liblzma' found
>
> How right to solve the problem?
> patch to detect_lzma?
> or maybe create port with head libs .pc file(for pkg-config)?
>
> --
> Best regard.
> Ilya A. Arhipov
>

Hm, i will describe in more detail.
xz,liblzma been included in freebsd
http://lists.freebsd.org/pipermail/svn-src-all/2010-May/023871.html
but pkg-config not have *.pc file and we have error(in my case ./configure
openttd) with:

%uname -rm
9.0-CURRENT amd64
%pkg-config liblzma --modversion
Package liblzma was not found in the pkg-config search path.
Perhaps you should add the directory containing `liblzma.pc'
to the PKG_CONFIG_PATH environment variable
No package 'liblzma' found

I see 2 solutions of the problem:
is either a patch to openttd,
or the creation of the port containing the *. pc files for pkg-config.
I think it is true stored somewhere *. pc files (using port) and depending on
the lzma install it, rather than just writing "is already in the base system
"
What do you think about this?

-- 
Best regard and sorry for my english :)
Ilya A. Arhipov


More information about the freebsd-ports mailing list