ports/112488: rrdtool does not compile in ports
Steve Clement
steve at ion.lu
Mon May 7 14:10:06 UTC 2007
>Number: 112488
>Category: ports
>Synopsis: rrdtool does not compile in ports
>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 14:10:05 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 6.2-RELEASE-p4 #2: Fri Apr 27 19:34:00 CEST 2007
root at laptop-steve.ion.lu:/usr/obj/usr/src/sys/LAPTOP-STEVE
>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:
--- rrdtool.txt begins here ---
--- 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"
--- rrdtool.txt ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list