1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00

fix powertop-1.13.patch

svn path=/nixpkgs/trunk/; revision=29806
This commit is contained in:
Florian Friesdorf 2011-10-13 08:47:58 +00:00
parent 3850bb86ba
commit 0989227b08

View file

@ -1,7 +1,7 @@
diff -ru powertop-1.13/Makefile powertop-1.13.new/Makefile
--- powertop-1.13/Makefile
+++ powertop-1.13.new/Makefile
@@ -1,6 +1,6 @@
@@ -1,8 +1,8 @@
VERSION = 1.13
-BINDIR=/usr/bin
@ -10,6 +10,6 @@ diff -ru powertop-1.13/Makefile powertop-1.13.new/Makefile
+BINDIR=${out}/bin
+LOCALESDIR=${out}/share/locale
+MANDIR=${out}/share/man/man8
WARNFLAGS=-Wall -W -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int
WARNFLAGS=-Wall -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int
CFLAGS?=-Os -g ${WARNFLAGS}
CC?=gcc