ports/112484: rrdtool does not compile

Steve Clement steve at localhost.lu
Mon May 7 13:40:04 UTC 2007


>Number:         112484
>Category:       ports
>Synopsis:       rrdtool does not compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 07 13:40:02 GMT 2007
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list