3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/powertop/powertop-1.13.patch
Lluís Batlle i Rossell af3e5b5050 Updating powertop.
svn path=/nixpkgs/trunk/; revision=26426
2011-03-18 20:44:35 +00:00

16 lines
434 B
Diff

diff -ru powertop-1.13/Makefile powertop-1.13.new/Makefile
--- powertop-1.13/Makefile
+++ powertop-1.13.new/Makefile
@@ -1,6 +1,6 @@
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 -W -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int
CFLAGS?=-Os -g ${WARNFLAGS}
CC?=gcc