Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2007 18:08:42 +0400
From:      Dmitry Sivachenko <demon@freebsd.org>
To:        Steve Clement <steve@localhost.lu>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: net/rrdtool fails to build when ruby is installed?
Message-ID:  <20070507140842.GA51706@m4-new.master-telecom.ru>
In-Reply-To: <463F2795.6010808@localhost.lu>
References:  <463D1275.1060305@gmail.com> <20070506121627.GA7374@tirith.brixandersen.dk> <463F2795.6010808@localhost.lu>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank you all for the report.

I will surely fix that after ports thaw...



On Mon, May 07, 2007 at 03:20:21PM +0200, Steve Clement wrote:
> Henrik Brix Andersen wrote:
> >Hi,
> >
> >On Sat, May 05, 2007 at 04:25:41PM -0700, Kian Mohageri wrote:
> >  
> >>I'm running into an error (seen below) when attempting to build the
> >>latest net/rrdtool when Ruby is installed.
> >>    
> 
> A first step would be adding the ruby module to the port, see the 
> attached diff against the port, if the maintainer could do us the honors :)
> 
> As this disable the ruby module by default most users would be "safe" 
> for now.
> 
> And perhaps someone already found out what causes
> the compile issue "against ruby/with gmake"
> 
> cheers,
> 
> Steve Clement

> --- Makefile	Mon May  7 15:16:59 2007
> +++ /usr/ports/net/rrdtool/Makefile	Mon May  7 15:14:28 2007
> @@ -25,9 +25,19 @@
>  
>  CONFIGURE_ARGS=	--enable-perl-site-install --disable-tcl
>  
> -OPTIONS=	PYTHON_MODULE	"Build PYTHON bindings" off
> +OPTIONS+=	PYTHON_MODULE	"Build PYTHON bindings" off
> +OPTIONS+=	RUBY_MODULE	"Build RUBY bindings" off
>  
>  .include <bsd.port.pre.mk>
> +.if defined(WITH_RUBY_MODULE)
> +USE_RUBY=	yes
> +.include "${PORTSDIR}/Mk/bsd.ruby.mk"
> +PLIST_SUB+=	WITH_RUBY=""
> +CONFIGURE_ARGS+=	--enable-ruby
> +.else
> +CONFIGURE_ARGS+=	--disable-ruby
> +PLIST_SUB+=	WITH_RUBY="@comment "
> +.endif
>  .if defined(WITH_PYTHON_MODULE)
>  USE_PYTHON=	yes
>  .include "${PORTSDIR}/Mk/bsd.python.mk"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070507140842.GA51706>