ports/155450: [net/bmon] bmon depends on rrdtool with WITHOUT_RRDTOOL

Spil spil.oss at gmail.com
Thu Mar 10 23:50:09 UTC 2011


>Number:         155450
>Category:       ports
>Synopsis:       [net/bmon] bmon depends on rrdtool with WITHOUT_RRDTOOL
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 10 23:50:04 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Spil
>Release:        8.2-RELEASE
>Organization:
>Environment:
FreeBSD build.example.org 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Sat Feb 19 09:55:04 CET 2011     root at gw.example.org:/usr/obj/usr/src/sys/FREEBSD82  i386

>Description:
bmon fails to start with an error about missing rrdtool dependency when rrdtool is installed and bmon is built WITHOUT_RRDTOOL
>How-To-Repeat:
Install rrdtool
Build bmon -DWITHOUT_RRDTOOL
Uninstall rrdtool
Run bmon
>Fix:
--- Makefile.orig       2011-03-11 00:36:27.000000000 +0100
+++ Makefile    2011-03-11 00:32:55.000000000 +0100
@@ -29,10 +29,15 @@

 .if defined(WITH_RRDTOOL)
 BUILD_DEPENDS= rrdtool:${PORTSDIR}/databases/rrdtool
+.else
+CONFIGURE_ARGS+= --disable-rrd
 .endif

+
 .if defined(WITH_DBI)
 LIB_DEPENDS=   dbi.1:${PORTSDIR}/databases/libdbi
+.else
+CONFIGURE_ARGS+= --disable-dbi
 .endif

 do-install:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list