From nobody@FreeBSD.org  Mon May  7 13:42:08 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 9F8E916A401
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  7 May 2007 13:42:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 92B7113C484
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  7 May 2007 13:42:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l47Dg87t099105
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 7 May 2007 13:42:08 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l47Db5IJ088681;
	Mon, 7 May 2007 13:37:05 GMT
	(envelope-from nobody)
Message-Id: <200705071337.l47Db5IJ088681@www.freebsd.org>
Date: Mon, 7 May 2007 13:37:05 GMT
From: Steve Clement<steve@localhost.lu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: rrdtool does not compile
X-Send-Pr-Version: www-3.0

>Number:         112486
>Category:       ports
>Synopsis:       rrdtool does not compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 07 13:50:07 GMT 2007
>Closed-Date:    Mon May 07 13:52:36 GMT 2007
>Last-Modified:  Mon May 07 13:52:36 GMT 2007
>Originator:     Steve Clement
>Release:        FreeBSD 6.2-RELEASE-p4 amd64
>Organization:
ION Network Solutions s. r.l
>Environment:
System: FreeBSD laptop-steve.ion.lu 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #2: Fr
i Apr 27 19:34:00 CEST 2007 root@laptop-steve.ion.lu:/usr/obj/usr/src/sys/LAPTOP
-STEVE amd64

>Description:
net/rrdtool does not compile due to an issue when ruby is installed

This patch will disable ruby support by default until the issue is solved on the programmer level
>How-To-Repeat:
Have ruby installed, portinstall/portupgrade net/rrdtool

>Fix:
Only a workaround known

Patch attached with submission follows:

--- 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"

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Mon May 7 13:52:34 UTC 2007 
State-Changed-Why:  
duplicate by 112483 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112486 
>Unformatted:
