nixpkgs/pkgs/os-specific/linux/powertop/powertop-1.13.patch
Florian Friesdorf 0989227b08 fix powertop-1.13.patch
svn path=/nixpkgs/trunk/; revision=29806
2011-10-13 08:47:58 +00:00

16 lines
430 B
Diff

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