diff options
Diffstat (limited to 'databases/lmdb/patches/patch-libraries_liblmdb_Makefile')
-rw-r--r-- | databases/lmdb/patches/patch-libraries_liblmdb_Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/databases/lmdb/patches/patch-libraries_liblmdb_Makefile b/databases/lmdb/patches/patch-libraries_liblmdb_Makefile new file mode 100644 index 00000000000..01bf8b9037a --- /dev/null +++ b/databases/lmdb/patches/patch-libraries_liblmdb_Makefile @@ -0,0 +1,21 @@ +$NetBSD: patch-libraries_liblmdb_Makefile,v 1.1 2015/10/07 10:15:12 fhajny Exp $ + +Use proper install commands. + +--- libraries/liblmdb/Makefile.orig 2015-08-14 00:00:38.000000000 +0000 ++++ libraries/liblmdb/Makefile +@@ -36,10 +36,10 @@ PROGS = $(IPROGS) mtest mtest2 mtest3 mt + all: $(ILIBS) $(PROGS) + + 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 $(IHDRS); do cp $$f $(DESTDIR)$(prefix)/include; done +- for f in $(IDOCS); do cp $$f $(DESTDIR)$(prefix)/man/man1; done ++ for f in $(IPROGS); do $(BSD_INSTALL_PROGRAM) $$f $(DESTDIR)$(prefix)/bin; done ++ for f in $(ILIBS); do $(BSD_INSTALL_LIB) $$f $(DESTDIR)$(prefix)/lib; done ++ for f in $(IHDRS); do $(BSD_INSTALL_DATA) $$f $(DESTDIR)$(prefix)/include; done ++ for f in $(IDOCS); do $(BSD_INSTALL_MAN) $$f $(DESTDIR)$(prefix)/$(PKGMANDIR)/man1; done + + clean: + rm -rf $(PROGS) *.[ao] *.[ls]o *~ testdb |