Date: Sat, 8 Jan 2011 14:25:15 +0300 From: "Ilya A. Arhipov" <micro@heavennet.ru> To: freebsd-ports@freebsd.org Subject: Re: pkg-config head libs Message-ID: <AANLkTing03vEfwudpg=bVX3y-NxcTihfXYMZMT8FEw78@mail.gmail.com> In-Reply-To: <AANLkTim4xi2YfKi_b8Cef8rzySf3PpZzb6tY49GSsZ%2Be@mail.gmail.com> References: <AANLkTim4xi2YfKi_b8Cef8rzySf3PpZzb6tY49GSsZ%2Be@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2011/1/7 Ilya A. Arhipov <micro@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTing03vEfwudpg=bVX3y-NxcTihfXYMZMT8FEw78>