Date: Mon, 07 May 2007 15:20:21 +0200 From: Steve Clement <steve@localhost.lu> To: freebsd-ports@freebsd.org, demon@freebsd.org Subject: Re: net/rrdtool fails to build when ruby is installed? Message-ID: <463F2795.6010808@localhost.lu> In-Reply-To: <20070506121627.GA7374@tirith.brixandersen.dk> References: <463D1275.1060305@gmail.com> <20070506121627.GA7374@tirith.brixandersen.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------050107080602040209030309 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------050107080602040209030309 Content-Type: text/plain; name="rrdtool.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="rrdtool.patch" --- 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" --------------050107080602040209030309--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?463F2795.6010808>