From owner-freebsd-ports@FreeBSD.ORG Mon May 7 13:46:54 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A481116A402 for ; Mon, 7 May 2007 13:46:54 +0000 (UTC) (envelope-from steve@localhost.lu) Received: from linion.ion.lu (linion.ion.lu [80.90.47.168]) by mx1.freebsd.org (Postfix) with ESMTP id F06B513C46A for ; Mon, 7 May 2007 13:46:53 +0000 (UTC) (envelope-from steve@localhost.lu) Received: (qmail 59787 invoked by uid 89); 7 May 2007 15:20:13 +0200 Received: from localhost (HELO ?IPv6:::1?) (steve@localhost.lu@127.0.0.1) by linion.ion.lu with SMTP; 7 May 2007 15:20:13 +0200 Message-ID: <463F2795.6010808@localhost.lu> Date: Mon, 07 May 2007 15:20:21 +0200 From: Steve Clement User-Agent: Thunderbird 2.0b1pre (X11/20070303) MIME-Version: 1.0 To: freebsd-ports@freebsd.org, demon@freebsd.org References: <463D1275.1060305@gmail.com> <20070506121627.GA7374@tirith.brixandersen.dk> In-Reply-To: <20070506121627.GA7374@tirith.brixandersen.dk> Content-Type: multipart/mixed; boundary="------------050107080602040209030309" Cc: Subject: Re: net/rrdtool fails to build when ruby is installed? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 May 2007 13:46:54 -0000 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 +.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--