From owner-freebsd-ports@FreeBSD.ORG Fri Jul 20 19:15:57 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 00663106564A for ; Fri, 20 Jul 2012 19:15:57 +0000 (UTC) (envelope-from jlaffaye.freebsd@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id A3F208FC08 for ; Fri, 20 Jul 2012 19:15:56 +0000 (UTC) Received: by ggnm2 with SMTP id m2so5127701ggn.13 for ; Fri, 20 Jul 2012 12:15:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=DvTh5V7Cb+Mt3IGOpikYgjxP03jlqQIxXiwh4ftv8k8=; b=svL3rnHmAkc/MXGByl+iC69LiCuX8y0CSTChkJdTLjCRqqss3Yy+Tw8DiVqQiOKZiU JQybEL8Wy9RBwpLmzaw/tr+ZKRujrta/723ckIrCpwmgd0khT2gfhzOKJwY3ofSLyYdT kLtvMmIra0lqrvjya/M9ArNEjg5258OVKXJuABKwdkxnQTF3b0fkE42U0d4ywKOds+JO WiToa2s4gv4JXoVYIQAA3ugPIOTb0wL7ATmloY0w8p03R8EZ6/v6mystbKni6GdQ1zSP /XQymKqveRYkLj43xnQxMc+wWVqa+aX03nsLavEfLPbNYdCF1nNt+z0tUaOOhuZV9ExJ zuGQ== Received: by 10.236.114.231 with SMTP id c67mr6636597yhh.119.1342811756001; Fri, 20 Jul 2012 12:15:56 -0700 (PDT) Received: from ?IPv6:2001:41d0:fc00:100:f178:74f5:3a9c:cece? ([2001:41d0:fc00:100:f178:74f5:3a9c:cece]) by mx.google.com with ESMTPS id p29sm10927054yhl.19.2012.07.20.12.15.54 (version=SSLv3 cipher=OTHER); Fri, 20 Jul 2012 12:15:55 -0700 (PDT) Sender: Julien Laffaye Message-ID: <5009AE6A.1040109@freebsd.org> Date: Fri, 20 Jul 2012 21:15:54 +0200 From: Julien Laffaye User-Agent: Thunderbird/7.0.1 MIME-Version: 1.0 To: Kimmo Paasiala References: <50098EEF.8040801@shatow.net> <1E76612CE817410FAA2CF925F9CC300A@Rivendell> <5009A876.2010905@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Reko Turja , freebsd-ports@freebsd.org Subject: Re: How to remove erroneous deps from pkgng 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: Fri, 20 Jul 2012 19:15:57 -0000 On 7/20/2012 9:03 PM, Kimmo Paasiala wrote: > On Fri, Jul 20, 2012 at 9:50 PM, Julien Laffaye wrote: >> On 7/20/2012 8:36 PM, Reko Turja wrote: >>>> Its use is not limited to Gnome, as you can see it's used in the build >>>> process of databases/sqlite3 and there are many other ports that have >>>> nothing to do with Gnome that use it the same way. The only thing that >>>> is wrong with it is that ends up being a run time dependency of >>>> sqlite3 instead of being only a build time dependency. Maybe this >>>> could be changed, anyone know if it's possible? >>> >>> Actually, sqlite3 builds and works quite fine with pkg-config dependency >>> removed from makefile. So it's kinda silly to pull it in by force - of >>> course it's not pkgng problem, but a problem in the port itself. >> sqlite3 installs "/usr/local/libdata/pkgconfig/sqlite3.pc". >> So I think the rationale is if a developper wants to link against sqlite3 >> using the pkg-config file, he should have pkg-config on his machine. >> If you go this way, you could also ask why sqlite3 install header files >> which are not needed for the runtime dependency (when what is required is >> only the shared object)... >> > This could be handled by having pkg-config only as a build time > dependency for sqlite3 and for any port that depends on it, pkg-config > is a build time tool much like autoconf, automake, libtool etc. and is > not needed to use the port at run time. Yes it is needed at runtime if you are a developper using sqlite3 and pkg-config: to use `pkg-config sqlite3 --cflags` and `pkg-config sqlite3 --libs` in your $APP build process.