How to remove erroneous deps from pkgng

Jeremy Messenger mezz.freebsd at gmail.com
Sat Jul 21 05:02:31 UTC 2012


On Fri, Jul 20, 2012 at 6:48 PM, Doug Barton <dougb at freebsd.org> wrote:
> For those that are confused about why they are receiving this message,
> ongoing discussion in ports@ as to the fact that pkg-config should not
> be a run-dep for any ports.
>
>
> On 07/20/2012 15:26, Doug Barton wrote:
>
>> 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.

I prefer to leave it alone and port a feature that I have added in the
bsd.mate.mk (repocopied from bsd.gnome.mk) that support 'USE_GNOME=
foo:build bar:run foobar'. The 'foobar' without the :* means that it's
both build/run time dependency. It's available at:

http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi/ports-experimental/Mk/bsd.mate.mk

Cheers,
Mezz

> ... and indeed, removing that one line results in the list shrinking
> from 3,000 to:
>
> Ruby:
> /usr/ports/accessibility/ruby-atk
> /usr/ports/devel/ruby-gio2
> /usr/ports/devel/ruby-glib2
> /usr/ports/graphics/ruby-gdk_pixbuf2
> /usr/ports/x11-toolkits/ruby-gstreamer
> /usr/ports/x11-toolkits/ruby-pango
> /usr/ports/x11-toolkits/ruby-poppler
> /usr/ports/x11-toolkits/ruby-vte
>
> Other:
> /usr/ports/security/xmlsec1     johans@
> /usr/ports/sysutils/lire        edwin at mavetju.org
> /usr/ports/textproc/gmetadom    ports@, so I fixed it already
>
> In the case of the Ruby ports it seems that they have a bogus run-dep on
> rubygem-pkg-config. Removing that should do the trick (I haven't
> examined all of them, since I don't know Ruby).
>
> security/xmlsec1 just needs to make pkg-config a run-dep only.
>
> I'm not quite sure where the run-dep for pkg-config is coming in for
> sysutils/lire.
>
> hth,
>
> Doug
>
> --
>
>     Change is hard.
>
>
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"



-- 
mezz.freebsd at gmail.com - mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org


More information about the freebsd-ports mailing list