3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/powertop/powertop-1.8.patch
Armijn Hemel e0d357058b add powertop (www.linuxpowertop.org)
svn path=/nixpkgs/trunk/; revision=9358
2007-09-23 10:59:54 +00:00

14 lines
425 B
Diff

diff -ru powertop-1.8/Makefile powertop-1.8.new/Makefile
--- powertop-1.8/Makefile 2007-08-19 19:43:08.000000000 +0200
+++ powertop-1.8.new/Makefile 2007-09-23 12:54:59.000000000 +0200
@@ -1,6 +1,6 @@
-BINDIR=/usr/bin
-LOCALESDIR=/usr/share/locale
-MANDIR=/usr/share/man/man1
+BINDIR=${out}/bin
+LOCALESDIR=${out}/share/locale
+MANDIR=${out}/share/man/man1
WARNFLAGS=-Wall -W -Wshadow
CFLAGS?=-Os -g ${WARNFLAGS}
CC?=gcc