clockspeed-conf-0.4.5-gentoo.patch 674 B

123456789101112131415161718192021222324252627
  1. Configure for Gentoo
  2. Patch by Thilo Bangert
  3. http://bugs.gentoo.org/show_bug.cgi?id=90073
  4. --- clockspeed-conf
  5. +++ clockspeed-conf
  6. @@ -15,6 +15,7 @@
  7. #ADJUST_LOGDIR defaults to main
  8. #VA=yes shortcut for 'ADJUST_LOGDIR=clockspeed-adjust'
  9. #
  10. +CLOCKSPEED_INSTALLATION="GENTOO"
  11. [ -z "${CLOCKSPEED_INSTALLATION}" ] && CLOCKSPEED_INSTALLATION="DJB"
  12. PATH=/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/command:${PATH}
  13. @@ -106,6 +107,10 @@
  14. BINDIR="${PREFIX}/clockspeed/bin"
  15. ADJUSTFILE="${PREFIX}/clockspeed/adjust"
  16. ;;
  17. + GENTOO)
  18. + ETCDIR="/var/lib/clockspeed"
  19. + BINDIR="/usr/bin"
  20. + ;;
  21. custom)
  22. # we expect ETCDIR and BINDIR from environment !!!
  23. ;;