lmdb/liblmdb.patch

25 lines
936 B
Diff

diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-liblmdb/Makefile ./Makefile
--- ../orig-liblmdb/Makefile 2014-01-31 09:23:13.341427766 +0100
+++ ./Makefile 2014-02-03 14:50:45.989580826 +0100
@@ -23,7 +23,7 @@
CFLAGS = $(THREADS) $(OPT) $(W) $(XCFLAGS)
LDLIBS =
SOLIBS =
-prefix = /usr/local
+prefix = /usr
########################################################################
@@ -36,9 +36,9 @@
install: $(ILIBS) $(IPROGS) $(IHDRS)
for f in $(IPROGS); do cp $$f $(DESTDIR)$(prefix)/bin; done
- for f in $(ILIBS); do cp $$f $(DESTDIR)$(prefix)/lib; done
+ for f in $(ILIBS); do cp $$f $(DESTDIR)$(prefix)/$(LIB); done
for f in $(IHDRS); do cp $$f $(DESTDIR)$(prefix)/include; done
- for f in $(IDOCS); do cp $$f $(DESTDIR)$(prefix)/man/man1; done
+ for f in $(IDOCS); do cp $$f $(DESTDIR)/$(MANDIR)/man1; done
clean:
rm -rf $(PROGS) *.[ao] *.so *~ testdb