From owner-freebsd-ports@FreeBSD.ORG Fri Jul 20 19:03:26 2012 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 13DD7106564A; Fri, 20 Jul 2012 19:03:26 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id A74B48FC08; Fri, 20 Jul 2012 19:03:25 +0000 (UTC) Received: by vbmv11 with SMTP id v11so4038638vbm.13 for ; Fri, 20 Jul 2012 12:03:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=gqJqOKsqiF2BAKt2Mdih1KeceJOjiN+uZJYO03PiDUA=; b=xR665R1sPamhJJ+FF7nulDSt/ilWFLtjgLiDI17G5ItSIKVMF2DcMLzHdQL/bIyHx0 S+CvfGiIAIxbYdHtqhzzIEmukP+lrefUsCEo4tB+7zX2Kip/jxfy+lVCn9TBizZsUaRP LTOzUyNPd9tgrI9X1gXJHqAescQacRsePeSgumtuxwTB7WLJho/YwNm38OagJNJYg9sl U7W78w4bJM8/Lst1R+zI57lzUFvZAT5EF+YNUvd5evKg/pSbkWPu1a3Z3Um2Ztm0YpiQ JyAUVxmVD3lKB+dMme4zWzrAUupcgpQbOTZtF3EhMWE0OGX5Xz1JprkcnQ2jQ5wVmowT FCsg== MIME-Version: 1.0 Received: by 10.52.72.44 with SMTP id a12mr4733468vdv.124.1342811005154; Fri, 20 Jul 2012 12:03:25 -0700 (PDT) Received: by 10.58.145.10 with HTTP; Fri, 20 Jul 2012 12:03:25 -0700 (PDT) In-Reply-To: <5009A876.2010905@freebsd.org> References: <50098EEF.8040801@shatow.net> <1E76612CE817410FAA2CF925F9CC300A@Rivendell> <5009A876.2010905@freebsd.org> Date: Fri, 20 Jul 2012 22:03:25 +0300 Message-ID: From: Kimmo Paasiala To: Julien Laffaye Content-Type: text/plain; charset=UTF-8 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:03:26 -0000 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.