ports/128537: [patch] databases/rrdtool add missing font runtime dependency

Daniel Roethlisberger daniel at roe.ch
Sun Nov 2 12:50:02 UTC 2008


>Number:         128537
>Category:       ports
>Synopsis:       [patch] databases/rrdtool add missing font runtime dependency
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 02 12:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Roethlisberger
>Release:        FreeBSD 7.0-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD marvin.ustcor.roe.ch 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Wed Oct 1 10:10:12 UTC 2008 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
rrdtool depends on x11-fonts/dejavu for the graphing functionality.
Previous versions of rrdtool used to ship with their own version of
the font.  With current versions of rrdtool, a runtime dependency on
x11-fonts/dejavu is required for graphing to work.
>How-To-Repeat:
On a system without x11-fonts/dejavu, install databases/rrdtool and
an arbitrary piece of RRD graphing software (e.g. net-mgmt/collectd
using WITH_CGI=yes).  RRDs::graph will throw error messages indicating
that the dejavu font could not be found.  The resulting graph images
are broken.  Then proceed to install x11-fonts/dejavu and retry.
RRDs::graph will now work fine and produce graphs as expected.
>Fix:
--- rrdtool-dejavu.diff begins here ---
diff -ruN rrdtool.ori/Makefile rrdtool/Makefile
--- rrdtool.ori/Makefile	2008-09-23 02:10:23.000000000 +0200
+++ rrdtool/Makefile	2008-11-02 13:34:01.000000000 +0100
@@ -7,6 +7,7 @@
 
 PORTNAME=	rrdtool
 PORTVERSION=	1.3.3
+PORTREVISION=	1
 CATEGORIES=	databases graphics
 MASTER_SITES=	http://oss.oetiker.ch/rrdtool/pub/
 
@@ -18,6 +19,7 @@
 		png.5:${PORTSDIR}/graphics/png \
 		xml2.5:${PORTSDIR}/textproc/libxml2 \
 		pangocairo-1\.0.0:${PORTSDIR}/x11-toolkits/pango
+RUN_DEPENDS=	${LOCALBASE}/lib/X11/fonts/dejavu:${PORTSDIR}/x11-fonts/dejavu
 
 CONFLICTS=	rrdtool-1.0*
 
--- rrdtool-dejavu.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list