summary refs log tree commit diff
path: root/pkgs/os-specific/linux/powertop/powertop-1.13.patch
blob: cf66b29719094dc48fd3ff142b817985e8378465 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -ru powertop-1.13/Makefile powertop-1.13.new/Makefile
--- powertop-1.13/Makefile
+++ powertop-1.13.new/Makefile
@@ -1,8 +1,8 @@
 VERSION = 1.13
 
-BINDIR=/usr/bin
-LOCALESDIR=/usr/share/locale
-MANDIR=/usr/share/man/man8
+BINDIR=${out}/bin
+LOCALESDIR=${out}/share/locale
+MANDIR=${out}/share/man/man8
 WARNFLAGS=-Wall -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int
 CFLAGS?=-Os -g ${WARNFLAGS}
 CC?=gcc