summaryrefslogtreecommitdiff
path: root/libraries/libcsv/Makefile.patch
diff options
context:
space:
mode:
authorTarantino Antonino <metrofox9@gmail.com>2010-05-11 00:07:12 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-16 22:24:22 -0500
commit034c53e7b86385640d0ed1769934cd1478b1c981 (patch)
tree60505596ae68de5fc77767703a0cbf059318d203 /libraries/libcsv/Makefile.patch
parent0903f0f57cb539f9212faf12cd3e6b8aee02ab3d (diff)
downloadslackbuilds-034c53e7b86385640d0ed1769934cd1478b1c981.tar.gz
libraries/libcsv: Added (a small/simple/fast CSV library)
Diffstat (limited to 'libraries/libcsv/Makefile.patch')
-rw-r--r--libraries/libcsv/Makefile.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/libraries/libcsv/Makefile.patch b/libraries/libcsv/Makefile.patch
new file mode 100644
index 0000000000..bb2aedbd13
--- /dev/null
+++ b/libraries/libcsv/Makefile.patch
@@ -0,0 +1,25 @@
+diff -Nur libcsv-3.0.0.orig//Makefile libcsv-3.0.0/Makefile
+--- libcsv-3.0.0.orig//Makefile 2008-07-26 20:48:28.000000000 -0500
++++ libcsv-3.0.0/Makefile 2010-05-11 00:01:39.900783556 -0500
+@@ -17,6 +17,7 @@
+ install_static: install_headers install_static_lib
+
+ install_man: csv.3.gz
++ mkdir -p $(DESTDIR)$(MANDIR)/
+ cp -f $^ $(DESTDIR)$(MANDIR)/
+
+ install_headers: csv.h
+@@ -24,11 +25,13 @@
+ cp -f $^ $(DESTDIR)$(INCDIR)/libcsv/
+
+ install_shared_lib: libcsv.so
++ mkdir -p $(DESTDIR)$(LIBDIR)
+ cp -f $< $(DESTDIR)$(LIBDIR)/$<.$(VERSION)
+ ln -sf $<.$(VERSION) $(DESTDIR)$(LIBDIR)/$<.3
+ ln -sf $<.3 $(DESTDIR)$(LIBDIR)/$<
+
+ install_static_lib: libcsv.a
++ mkdir -p $(DESTDIR)$(LIBDIR)
+ cp -f $< $(DESTDIR)$(LIBDIR)/$<
+
+ libcsv.o: libcsv.c csv.h