diff options
Diffstat (limited to 'net-misc/clockspeed-conf/files/clockspeed-conf-0.4.5-gentoo.patch')
-rw-r--r-- | net-misc/clockspeed-conf/files/clockspeed-conf-0.4.5-gentoo.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/net-misc/clockspeed-conf/files/clockspeed-conf-0.4.5-gentoo.patch b/net-misc/clockspeed-conf/files/clockspeed-conf-0.4.5-gentoo.patch new file mode 100644 index 000000000000..dffbb35b08c7 --- /dev/null +++ b/net-misc/clockspeed-conf/files/clockspeed-conf-0.4.5-gentoo.patch @@ -0,0 +1,26 @@ +Configure for Gentoo + +Patch by Thilo Bangert +http://bugs.gentoo.org/show_bug.cgi?id=90073 + +--- clockspeed-conf ++++ clockspeed-conf +@@ -15,6 +15,7 @@ + #ADJUST_LOGDIR defaults to main + #VA=yes shortcut for 'ADJUST_LOGDIR=clockspeed-adjust' + # ++CLOCKSPEED_INSTALLATION="GENTOO" + [ -z "${CLOCKSPEED_INSTALLATION}" ] && CLOCKSPEED_INSTALLATION="DJB" + + PATH=/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/command:${PATH} +@@ -106,6 +107,10 @@ + BINDIR="${PREFIX}/clockspeed/bin" + ADJUSTFILE="${PREFIX}/clockspeed/adjust" + ;; ++ GENTOO) ++ ETCDIR="/var/lib/clockspeed" ++ BINDIR="/usr/bin" ++ ;; + custom) + # we expect ETCDIR and BINDIR from environment !!! + ;; |