Claudio Jeker [Fri, Jul 11, 2008 at 11:21:40PM +0200] wrote:
>ruby-rrdtool needs ruby-hoe to build (and it has a BUILD_DEPENDS for this)
>but the installed gem has a dependency on hoe in the gem specification.
>See /usr/local/lib/ruby/gems/1.8/specifications/RubyRRDtool-0.6.0.gemspec
>
>...
>  s.add_dependency(%q<hoe>, [">= 1.1.1"])
>end
>
>So currently you must additionally install ruby-hoe to be able to use
>ruby-rrdtool. 
>
>Either the gemspec or the pkg dependency need to be fixed. I would prefer
>to fix the gemspec but I have no idea how to do it. I hope some ruby ports
>guru knows a good trick and fixes it.
>
Please try the following diff.

Regards,
        Bernd

Index: Makefile
===================================================================
RCS file: /home/OpenBSD/cvs/ports/net/ruby-rrdtool/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile    14 Jun 2008 23:54:16 -0000      1.3
+++ Makefile    11 Jul 2008 22:23:52 -0000
@@ -6,7 +6,7 @@ COMMENT=        ruby bindings for RRDtool
 
 V=             0.6.0
 DISTNAME=      RubyRRDtool-$V
-PKGNAME=       ruby-rrdtool-$Vp0
+PKGNAME=       ruby-rrdtool-$Vp1
 CATEGORIES=    net
 
 HOMEPAGE=      http://rubyrrdtool.rubyforge.org/
@@ -23,7 +23,7 @@ MASTER_SITES= ${MASTER_SITE_RUBYFORGE:=r
 
 MODULES=       lang/ruby
 
-BUILD_DEPENDS= ::devel/ruby-hoe
+GEM_SKIPDEPENDS= hoe
 LIB_DEPENDS=   ruby::lang/ruby \
                rrd:rrdtool-1.2.*:net/rrdtool
 

Reply via email to