Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2012 21:15:54 +0200
From:      Julien Laffaye <jlaffaye@freebsd.org>
To:        Kimmo Paasiala <kpaasial@gmail.com>
Cc:        Reko Turja <reko.turja@liukuma.net>, freebsd-ports@freebsd.org
Subject:   Re: How to remove erroneous deps from pkgng
Message-ID:  <5009AE6A.1040109@freebsd.org>
In-Reply-To: <CA%2B7WWSfXcBQjoWBYP63oZh6_-x5_FJtLdsk-iPepekS1TeRWJg@mail.gmail.com>
References:  <D0056D18EAAD41119F26D0715FA52FB6@Rivendell> <50098EEF.8040801@shatow.net> <1E76612CE817410FAA2CF925F9CC300A@Rivendell> <CA%2B7WWSf%2B=rxt1gFfDXS%2BCwggJ2wSLSvdyzCR=GW2TZmPT0-VHw@mail.gmail.com> <AD251933EC034F5BA4FF2F37757C8D4D@Rivendell> <5009A876.2010905@freebsd.org> <CA%2B7WWSfXcBQjoWBYP63oZh6_-x5_FJtLdsk-iPepekS1TeRWJg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/20/2012 9:03 PM, Kimmo Paasiala wrote:
> On Fri, Jul 20, 2012 at 9:50 PM, Julien Laffaye <jlaffaye@freebsd.org> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5009AE6A.1040109>