git: e1ada5df91ad - main - databases/mdbx: Update to 0.10.0
Loïc Bartoletti
lbartoletti at FreeBSD.org
Thu Jun 3 18:27:20 UTC 2021
The branch main has been updated by lbartoletti:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e1ada5df91ad93e4ad5a685ff823c9e709200217
commit e1ada5df91ad93e4ad5a685ff823c9e709200217
Author: Loïc Bartoletti <lbartoletti at FreeBSD.org>
AuthorDate: 2021-06-03 18:11:23 +0000
Commit: Loïc Bartoletti <lbartoletti at FreeBSD.org>
CommitDate: 2021-06-03 18:11:23 +0000
databases/mdbx: Update to 0.10.0
Changes:
https://github.com/erthink/libmdbx/releases/tag/v0.10.0
PR: 255741
Reported by: mahlon at martini.nu (maintainer)
---
databases/mdbx/Makefile | 7 ++++---
databases/mdbx/distinfo | 6 +++---
databases/mdbx/files/patch-GNUmakefile | 28 ++++++++++++++--------------
databases/mdbx/pkg-plist | 2 ++
4 files changed, 23 insertions(+), 20 deletions(-)
diff --git a/databases/mdbx/Makefile b/databases/mdbx/Makefile
index 80d6e419df65..438fa64e90df 100644
--- a/databases/mdbx/Makefile
+++ b/databases/mdbx/Makefile
@@ -1,7 +1,7 @@
# Created by: Mahlon E. Smith <mahlon at martini.nu>
PORTNAME= mdbx
-PORTVERSION= 0.9.3
+PORTVERSION= 0.10.0
DISTVERSIONPREFIX= v
CATEGORIES= databases
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
@@ -32,7 +32,8 @@ NO_WRKSUBDIR= yes
PLIST_SUB= VERSION=${PORTVERSION}
post-install:
- ${LN} -sf libmdbx.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libmdbx.so
- ${LN} -sf libmdbx.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libmdbx.so.0
+ ${RLN} libmdbx.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libmdbx.so
+ ${RLN} libmdbx.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libmdbx.so.${PORTVERSION}
+ ${RLN} libmdbx.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libmdbx.so.0
.include <bsd.port.mk>
diff --git a/databases/mdbx/distinfo b/databases/mdbx/distinfo
index 9961a58fba59..64e33538a9f7 100644
--- a/databases/mdbx/distinfo
+++ b/databases/mdbx/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1612390977
-SHA256 (libmdbx-amalgamated-0.9.3.tar.gz) = d12bc7189b746beaa85514fcd1fcf26b957bb8feadb11662a0e20c4e79410d3f
-SIZE (libmdbx-amalgamated-0.9.3.tar.gz) = 574341
+TIMESTAMP = 1620627599
+SHA256 (libmdbx-amalgamated-0.10.0.tar.gz) = 767776d961fadeb51ee895fb70ed82a03051bae855a19396f0067b03076103bb
+SIZE (libmdbx-amalgamated-0.10.0.tar.gz) = 645315
diff --git a/databases/mdbx/files/patch-GNUmakefile b/databases/mdbx/files/patch-GNUmakefile
index f0ce94b385a5..681a98b72627 100644
--- a/databases/mdbx/files/patch-GNUmakefile
+++ b/databases/mdbx/files/patch-GNUmakefile
@@ -1,7 +1,7 @@
---- GNUmakefile.orig 2020-09-30 14:33:07 UTC
+--- GNUmakefile.orig 2021-05-09 00:11:57 UTC
+++ GNUmakefile
-@@ -14,7 +14,7 @@
- # There may be other macros of interest.
+@@ -13,7 +13,7 @@
+ # in README and source code (see src/options.h) if you do.
#
-SHELL := env bash
@@ -14,24 +14,24 @@
esac
endef
-SO_SUFFIX := $(shell $(uname2sosuffix))
-+SO_SUFFIX := so.0.9.3
-
++SO_SUFFIX := so.0.10.0
HEADERS := mdbx.h mdbx.h++
LIBRARIES := libmdbx.a libmdbx.$(SO_SUFFIX)
-@@ -110,11 +110,11 @@ mdbx_%: mdbx_%.c libmdbx.a
- $(CC) $(CFLAGS) $(MDBX_OPTIONS) '-DMDBX_CONFIG_H="config.h"' $^ $(EXE_LDFLAGS) $(LIBS) -o $@
+ TOOLS := mdbx_stat mdbx_copy mdbx_dump mdbx_load mdbx_chk mdbx_drop
+@@ -194,11 +194,11 @@ mdbx_%: mdbx_%.c libmdbx.a
install: $(LIBRARIES) $(TOOLS) $(HEADERS)
-- install -D -p -s -t $(DESTDIR)$(prefix)/bin$(suffix) $(TOOLS) && \
-- install -D -p -s -t $(DESTDIR)$(prefix)/lib$(suffix) $(filter-out libmdbx.a,$(LIBRARIES)) && \
-- install -D -p -t $(DESTDIR)$(prefix)/lib$(suffix) libmdbx.a && \
-- install -D -p -m 444 -t $(DESTDIR)$(prefix)/include $(HEADERS) && \
-- install -D -p -m 444 -t $(DESTDIR)$(mandir)/man1 $(addprefix $(MAN_SRCDIR), $(MANPAGES))
+ @echo ' INSTALLING...'
+- $(INSTALL) -D -p $(EXE_INSTALL_FLAGS) -t $(DESTDIR)$(prefix)/bin$(suffix) $(TOOLS) && \
+- $(INSTALL) -D -p $(EXE_INSTALL_FLAGS) -t $(DESTDIR)$(prefix)/lib$(suffix) $(filter-out libmdbx.a,$(LIBRARIES)) && \
+- $(INSTALL) -D -p -t $(DESTDIR)$(prefix)/lib$(suffix) libmdbx.a && \
+- $(INSTALL) -D -p -m 444 -t $(DESTDIR)$(prefix)/include $(HEADERS) && \
+- $(INSTALL) -D -p -m 444 -t $(DESTDIR)$(mandir)/man1 $(addprefix $(MAN_SRCDIR), $(MANPAGES))
+ install -p -s $(TOOLS) $(DESTDIR)$(prefix)/bin$(suffix) && \
+ install -p -s $(filter-out libmdbx.a,$(LIBRARIES)) $(DESTDIR)$(prefix)/lib$(suffix) && \
+ install -p libmdbx.a $(DESTDIR)$(prefix)/lib$(suffix) && \
+ install -p -m 444 $(HEADERS) $(DESTDIR)$(prefix)/include && \
+ install -p -m 444 $(addprefix $(MAN_SRCDIR), $(MANPAGES)) $(DESTDIR)$(mandir)/man1
- uninstall:
- rm -f $(addprefix $(DESTDIR)$(prefix)/bin$(suffix)/,$(TOOLS)) \
+ install-strip: EXE_INSTALL_FLAGS = -s
+ install-strip: install
diff --git a/databases/mdbx/pkg-plist b/databases/mdbx/pkg-plist
index 9dc1906712c6..a4f51ffddbb3 100644
--- a/databases/mdbx/pkg-plist
+++ b/databases/mdbx/pkg-plist
@@ -1,6 +1,7 @@
bin/mdbx_chk
bin/mdbx_copy
bin/mdbx_dump
+bin/mdbx_drop
bin/mdbx_load
bin/mdbx_stat
include/mdbx.h
@@ -12,5 +13,6 @@ lib/libmdbx.so.%%VERSION%%
man/man1/mdbx_chk.1.gz
man/man1/mdbx_copy.1.gz
man/man1/mdbx_dump.1.gz
+man/man1/mdbx_drop.1.gz
man/man1/mdbx_load.1.gz
man/man1/mdbx_stat.1.gz
More information about the dev-commits-ports-all
mailing list