File psinfo-makefile.patch of Package psinfo
--- Makefile.orig 2010-07-23 02:22:28.000000000 +0200
+++ Makefile 2010-07-23 02:23:54.000000000 +0200
@@ -1,5 +1,6 @@
+OPTFLAGS=
CC=gcc
-CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wswitch -Wshadow -Wcast-align -Wno-unused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
+CFLAGS=-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wswitch -Wshadow -Wcast-align -Wno-unused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls $(OPTFLAGS)
INSTALL=install
LDFLAGS=
SOURCES=psinfo.c
@@ -12,7 +13,7 @@
rm -f $(EXECUTABLE)
install: $(EXECUTABLE)
- $(INSTALL) -m 755 psinfo $(TARGETDIR)
+ $(INSTALL) -D -m 755 psinfo $(TARGETDIR)/psinfo
$(EXECUTABLE): $(SOURCES)
$(CC) $(CFLAGS) -o $@ $(SOURCES) $(LDFLAGS)