From pgollucci at p6m7g8.com Wed Jul 2 21:10:20 2008 From: pgollucci at p6m7g8.com (Philip M. Gollucci) Date: Wed Jul 2 21:10:25 2008 Subject: Actual Question! Message-ID: <486BEC5F.1060108@p6m7g8.com> $ 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. From pgollucci at p6m7g8.com Wed Jul 2 21:20:09 2008 From: pgollucci at p6m7g8.com (Philip M. Gollucci) Date: Wed Jul 2 21:20:14 2008 Subject: Actual Question! In-Reply-To: References: <486BEC5F.1060108@p6m7g8.com> Message-ID: <486BF107.3030206@p6m7g8.com> Jeremy Messenger wrote: >> 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. ;-) Try that again, I don't quite get the question ? From mezz7 at cox.net Wed Jul 2 21:28:47 2008 From: mezz7 at cox.net (Jeremy Messenger) Date: Wed Jul 2 21:28:52 2008 Subject: Actual Question! In-Reply-To: <486BEC5F.1060108@p6m7g8.com> References: <486BEC5F.1060108@p6m7g8.com> Message-ID: On Wed, 02 Jul 2008 16:00:15 -0500, Philip M. Gollucci 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@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org From mezz7 at cox.net Wed Jul 2 21:32:31 2008 From: mezz7 at cox.net (Jeremy Messenger) Date: Wed Jul 2 21:32:34 2008 Subject: Actual Question! In-Reply-To: <486BF107.3030206@p6m7g8.com> References: <486BEC5F.1060108@p6m7g8.com> <486BF107.3030206@p6m7g8.com> Message-ID: On Wed, 02 Jul 2008 16:20:07 -0500, Philip M. Gollucci wrote: > Jeremy Messenger wrote: >>> 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. ;-) > > Try that again, I don't quite get the question ? Maybe I don't really understand what you are trying to show? Are you chaning the dependencies? If yes, then what reason as I have pointed that have you check the dependencies requirement to make sure the change is ok? Cheers, Mezz -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org