How to remove erroneous deps from pkgng

Doug Barton dougb at FreeBSD.org
Fri Jul 20 23:48:39 UTC 2012


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.

... 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.





More information about the freebsd-ruby mailing list