From owner-freebsd-ports@FreeBSD.ORG Sat Jan 8 11:25:16 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A63B310656A5 for ; Sat, 8 Jan 2011 11:25:16 +0000 (UTC) (envelope-from micro@heavennet.ru) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7909D8FC1A for ; Sat, 8 Jan 2011 11:25:15 +0000 (UTC) Received: by iyb26 with SMTP id 26so17192960iyb.13 for ; Sat, 08 Jan 2011 03:25:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.33.202 with SMTP id i10mr26505262ibd.55.1294485915303; Sat, 08 Jan 2011 03:25:15 -0800 (PST) Received: by 10.231.70.71 with HTTP; Sat, 8 Jan 2011 03:25:15 -0800 (PST) In-Reply-To: References: Date: Sat, 8 Jan 2011 14:25:15 +0300 Message-ID: From: "Ilya A. Arhipov" To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: pkg-config head libs X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jan 2011 11:25:16 -0000 2011/1/7 Ilya A. Arhipov > 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