Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jul 2012 02:06:57 +0300
From:      Kimmo Paasiala <kpaasial@gmail.com>
To:        Doug Barton <dougb@freebsd.org>
Cc:        Reko Turja <reko.turja@liukuma.net>, Vitaly Magerya <vmagerya@gmail.com>, freebsd-ports@freebsd.org, Julien Laffaye <jlaffaye@freebsd.org>
Subject:   Re: How to remove erroneous deps from pkgng
Message-ID:  <CA%2B7WWSeiEusZ5Z6g_q%2Bbu-7Bf1bR_=amJ-JJB-j0hO2ruQn0pg@mail.gmail.com>
In-Reply-To: <5009DB2F.5070605@FreeBSD.org>
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> <5009AE6A.1040109@freebsd.org> <CAL409KxL6PK8rzd6ksoe22xg-c0s3wMXXn4PwfWjKAPhYE_yUg@mail.gmail.com> <5009B199.8030102@freebsd.org> <CAL409KwoE=Ko%2B-0iRt%2BENPG-Ry4DghGqb%2Bah9WQBejtba61QFA@mail.gmail.com> <CA%2B7WWSdRAhWmy=sw2Bci8fZRuDLrM8Pn0HXN1ocwbnpM9c13Bg@mail.gmail.com> <CA%2B7WWSf6mLq1Xfj8iK4-9sOUFn4ohtS4jG37muNPzGXke9%2BAjw@mail.gmail.com> <5009DB2F.5070605@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 21, 2012 at 1:26 AM, Doug Barton <dougb@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B7WWSeiEusZ5Z6g_q%2Bbu-7Bf1bR_=amJ-JJB-j0hO2ruQn0pg>