Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348620 - sys-power/cpufrequtils-004 and later no longer depend on sysfsutils (libsysfs)
Summary: sys-power/cpufrequtils-004 and later no longer depend on sysfsutils (libsysfs)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Matt Turner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-13 13:29 UTC by Ryoichiro Suzuki
Modified: 2011-07-21 19:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryoichiro Suzuki 2010-12-13 13:29:34 UTC
cpufrequtils no longer requires libsysfs, that is part of sysfsutils, to access sysfs since version 004. but the ebuilds in the tree haven't been updated yet.

quote of git logs of the project is:
2008-07-14 13:59 Dominik Brodowski  [cpufrequtils-004] cpufrequtils-004
(...)
2008-06-06 18:22 Goran Koruga       Removed dependency on libsysfs.
(...)
2008-05-25 13:49 Dominik Brodowski  [cpufrequtils-003] cpufrequtils-003
---END---

and correspoinding commit message is:
commit 4fa396b04a7422c0875cb70e4232bf080c9d6bd5
Refs: cpufrequtils-003-3-g4fa396b
Author:     Goran Koruga <korugag@siol.net>
AuthorDate: Fri Jun 6 18:22:20 2008 +0200
Commit:     Dominik Brodowski <linux@dominikbrodowski.net>
CommitDate: Tue Jun 10 20:07:02 2008 +0200

    Removed dependency on libsysfs.

    This adds local functions to read from/write to files in "/sys"
    cpufreq tree.

    Signed-off-by: Goran Koruga <korugag@siol.net>
    Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
---
 Makefile    |    1 -
 lib/sysfs.c |  195 ++++++++++++++++++++++++++++++-----------------------------
 2 files changed, 98 insertions(+), 98 deletions(-)

diff --git a/Makefile b/Makefile
index 186922e..531fb51 100644
--- a/Makefile
+++ b/Makefile
@@ -135,7 +135,6 @@ endif
 ifeq ($(strip $(SYSFS)),true)
        LIB_PARTS += lib/sysfs.lo
        CFLAGDEF += -DINTERFACE_SYSFS
-       LDFLAGS = -lsysfs
 endif
(snip)
---END---

Reproducible: Always
Comment 1 Matt Turner gentoo-dev 2011-07-21 19:49:15 UTC
Fixed cpufrequtils-008.ebuild. Once it's stabilized, the others will be removed.