aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/array-info/array-info-makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/array-info/array-info-makefile.patch')
-rw-r--r--unmaintained/array-info/array-info-makefile.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/unmaintained/array-info/array-info-makefile.patch b/unmaintained/array-info/array-info-makefile.patch
new file mode 100644
index 0000000000..db7c18e450
--- /dev/null
+++ b/unmaintained/array-info/array-info-makefile.patch
@@ -0,0 +1,20 @@
+--- Makefile.orig Tue Dec 29 13:46:28 2009
++++ Makefile Tue Dec 29 13:47:38 2009
+@@ -1,5 +1,5 @@
+ DESTDIR =
+-prefix = /usr/local
++prefix = /usr
+ sbindir = $(prefix)/sbin
+ pkglibdir = $(prefix)/lib/array-info
+ mandir = $(prefix)/share/man
+@@ -8,8 +8,8 @@
+
+ INCLUDES = -I./include -I./linuxheaders
+
+-CFLAGS = -g2 -Wall $(INCLUDES) -DARRAY_PLUGIN_PATH=\"$(ARRAY_PLUGIN_PATH)\"
+-LDFLAGS = -L./lib -larray-info -ldl
++CFLAGS += -Wall $(INCLUDES) -DARRAY_PLUGIN_PATH=\"$(ARRAY_PLUGIN_PATH)\"
++LDFLAGS += -L./lib -larray-info -ldl
+ OBJS = array_plugin.o array_utils.o main.o
+
+ ARRAY_PLUGIN_PATH=$(pkglibdir)/plugins