openldap/openldap-2.4.43-liblmdb-installdirs.patch

25 lines
900 B
Diff
Raw Permalink Normal View History

--- openldap-2.4.43/libraries/liblmdb/Makefile.orig 2016-01-01 21:06:16.297023647 +0100
+++ openldap-2.4.43/libraries/liblmdb/Makefile 2016-01-01 21:07:02.919683678 +0100
@@ -28,7 +28,9 @@
SOLIBS =
SONAME = liblmdb.so.0
prefix = /usr/local
-mandir = $(prefix)/man
+libdir = $(prefix)/lib
+datadir = $(prefix)/share
+mandir = $(datadir)/man
########################################################################
@@ -45,8 +47,8 @@
mkdir -p $(DESTDIR)$(prefix)/include
mkdir -p $(DESTDIR)$(prefix)/man/man1
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 $(IHDRS); do cp $$f $(DESTDIR)$(prefix)/include; done
+ for f in $(ILIBS); do cp $$f $(DESTDIR)$(libdir); done
+ for f in $(IHDRS); do cp $$f $(DESTDIR)$(prefix)/include; done
for f in $(IDOCS); do cp $$f $(DESTDIR)$(mandir)/man1; done
clean: