SOURCES: powertop-make.patch (NEW) - initial.

blues blues at pld-linux.org
Mon May 14 16:39:51 CEST 2007


Author: blues                        Date: Mon May 14 14:39:51 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- initial.

---- Files affected:
SOURCES:
   powertop-make.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/powertop-make.patch
diff -u /dev/null SOURCES/powertop-make.patch:1.1
--- /dev/null	Mon May 14 16:39:51 2007
+++ SOURCES/powertop-make.patch	Mon May 14 16:39:46 2007
@@ -0,0 +1,22 @@
+--- ./Makefile.org	2007-05-14 16:34:33.000000000 +0200
++++ ./Makefile	2007-05-14 16:35:14.000000000 +0200
+@@ -1,13 +1,15 @@
+ BINDIR=/usr/bin
+-
+ WARNFLAGS=-Wall
+ CFLAGS=-O2 -g ${WARNFLAGS}
++CC=gcc
++
+ powertop: powertop.c config.c process.c Makefile powertop.h
+-	gcc ${CFLAGS}  powertop.c config.c process.c -o powertop
++	${CC} ${CFLAGS} powertop.c config.c process.c -o powertop
+ 
+ install: powertop
++	install -d ${DESTDIR}${BINDIR}
+ 	cp powertop ${DESTDIR}${BINDIR}
+ 	
+ clean:
+ 	rm -f *~ powertop
+-		
+\ No newline at end of file
++		
================================================================


More information about the pld-cvs-commit mailing list