How to remove erroneous deps from pkgng
Kimmo Paasiala
kpaasial at gmail.com
Fri Jul 20 19:03:26 UTC 2012
On Fri, Jul 20, 2012 at 9:50 PM, Julien Laffaye <jlaffaye at 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.
More information about the freebsd-ports
mailing list