Browse Source

lm_sensors: improved to only build sensord if rrdtool is effectively installed

user/amery/mess
Christian Wiese 14 years ago
parent
commit
7b57a081d1
  1. 3
      base/lm_sensors/lm_sensors.conf

3
base/lm_sensors/lm_sensors.conf

@ -2,6 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../lm_sensors/lm_sensors.conf # Filename: package/.../lm_sensors/lm_sensors.conf
# Copyright (C) 2010 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # 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 " " "PREFIX=$root/$prefix user_install"
var_append makeinstopt " " "LIBDIR=$root/$libdir" var_append makeinstopt " " "LIBDIR=$root/$libdir"
if pkginstalled rrdtool ; then if pkginstalled -f rrdtool ; then
var_append makeopt " " "PROG_EXTRA:=sensord" var_append makeopt " " "PROG_EXTRA:=sensord"
var_append makeinstopt " " "PROG_EXTRA:=sensord" var_append makeinstopt " " "PROG_EXTRA:=sensord"
fi fi

Loading…
Cancel
Save