Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Mar 2011 23:41:32 GMT
From:      Spil <spil.oss@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/155450: [net/bmon] bmon depends on rrdtool with WITHOUT_RRDTOOL
Message-ID:  <201103102341.p2ANfWDP011178@red.freebsd.org>
Resent-Message-ID: <201103102350.p2ANo4ad044670@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103102341.p2ANfWDP011178>