How to remove erroneous deps from pkgng

Kimmo Paasiala kpaasial at gmail.com
Fri Jul 20 23:06:59 UTC 2012


On Sat, Jul 21, 2012 at 1:26 AM, Doug Barton <dougb at freebsd.org> wrote:
> On 07/20/2012 14:26, Kimmo Paasiala wrote:
>> Sqlite3 isn't the only one with a bogus dependency to pkg-config, for
>> example audio/libsndfile does the same by using "USE_GNOME=gnomehack
>> pkgconfig" instead of doing the proper thing (tm) which is patching
>> Makefile.in to install the .pc file to $(prefix)/libdata/pkgconfig. I
>> can try to track down some of those and submit PRs.
>
> http://people.freebsd.org/~dougb/pkg-config-run-deps.txt
>
> Looks like bsd.gnome.mk is (bogusly) adding most of these:
>
> pkgconfig_RUN_DEPENDS=          pkg-config:${PORTSDIR}/devel/pkg-config
>
> Removing that is almost certainly the right first step.
>
> --
>
>     Change is hard.
>
Doug,

That certainly seems to be the culprit and it does look like it's safe
to remove that line. With that line removed there are still ports that
pull in pkg-config for build but don't actually use it. That's not a
big problem since pkg-config won't have anything depending on it after
the build.


More information about the freebsd-ports mailing list