From 7b57a081d198ed5ee4bcea5c1d846ef256eaa0bf Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 13 Sep 2010 18:32:49 +0200 Subject: [PATCH] lm_sensors: improved to only build sensord if rrdtool is effectively installed --- base/lm_sensors/lm_sensors.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base/lm_sensors/lm_sensors.conf b/base/lm_sensors/lm_sensors.conf index 070bcaa9e..948adada3 100644 --- a/base/lm_sensors/lm_sensors.conf +++ b/base/lm_sensors/lm_sensors.conf @@ -2,6 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../lm_sensors/lm_sensors.conf +# Copyright (C) 2010 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -18,7 +19,7 @@ var_remove makeinstopt " " "install" var_append makeinstopt " " "PREFIX=$root/$prefix user_install" var_append makeinstopt " " "LIBDIR=$root/$libdir" -if pkginstalled rrdtool ; then +if pkginstalled -f rrdtool ; then var_append makeopt " " "PROG_EXTRA:=sensord" var_append makeinstopt " " "PROG_EXTRA:=sensord" fi