Actual Question!

Jeremy Messenger mezz7 at cox.net
Wed Jul 2 21:28:47 UTC 2008


On Wed, 02 Jul 2008 16:00:15 -0500, Philip M. Gollucci  
<pgollucci at p6m7g8.com> wrote:

> $ grep rubygem MFiles | \
> 	xargs grep DEPENDS | \
> 	grep rubygem |grep -c LOCALBASE
> 9
>
> $ grep rubygem MFiles | \
> 	xargs grep DEPENDS | \
> 	grep rubygem | \
> 	grep -v LOCALBASE | \
> 	wc -l
> 91
>
> So it looks like the second form is preferred.  If you wondering, thats  
> the difference between these:
>
>
> devel/rubygem-rgl/Makefile:RUN_DEPENDS=  
> ${LOCALBASE}/lib/ruby/gems/1.8/specifications/stream-0.5.gemspec:${PORTSDIR}/devel/rubygem-stream
>
> vs
>
> www/rubygem-rubyfulsoup/Makefile:BUILD_DEPENDS=  
> rubygem-htmltools>=1.10:${PORTSDIR}/textproc/rubygem-htmltools
>
>
> IMHO the second is better, because you can use >= or leave it out and  
> not break higher level ports every-time you upgrade a lower one.
>
> I'm going to a file a PR to change the 9 ports shortly.

Have you check rubygem's dependencies requirement before you care about  
how much dependencies there are? Just make sure in case. ;-)

Cheers,
Mezz


-- 
mezz7 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org


More information about the freebsd-ruby mailing list