summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Hurling <rhurlin@FreeBSD.org>2021-02-04 08:20:18 +0000
committerRainer Hurling <rhurlin@FreeBSD.org>2021-02-04 08:20:18 +0000
commite4a11f300d3fc23c881d132624cdccc6a2e85d7f (patch)
tree2adc2ebe2258f35228fb7441062c8a6e23cf3f6a
parent- Update to 365 (diff)
databases/mdbx: Update to 0.9.3
Changelog: https://github.com/erthink/libmdbx/releases/tag/v0.9.3 PR: 253239 Submitted by: Mahlon E. Smith <mahlon@martini.nu> (maintainer) Approved by: arrowd, tcberner (mentors, implicit)
-rw-r--r--databases/mdbx/Makefile17
-rw-r--r--databases/mdbx/distinfo6
-rw-r--r--databases/mdbx/files/patch-GNUmakefile2
3 files changed, 13 insertions, 12 deletions
diff --git a/databases/mdbx/Makefile b/databases/mdbx/Makefile
index 4f3556366203..9cf80ce4258f 100644
--- a/databases/mdbx/Makefile
+++ b/databases/mdbx/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mdbx
-PORTVERSION= 0.9.2
+PORTVERSION= 0.9.3
DISTVERSIONPREFIX= v
CATEGORIES= databases
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
@@ -17,19 +17,20 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= gmake
+# No USE_GITHUB, we want the amalgamated build.
+GH_ACCOUNT= erthink
+GH_PROJECT= libmdbx
+USE_LDCONFIG= yes
-PLIST_SUB= VERSION=${PORTVERSION}
MAKEFILE= GNUmakefile
-NO_WRKSUBDIR= yes
-USE_LDCONFIG= yes
+MAKE_ARGS= mdbx tools
CFLAGS+= -Wall -Werror -Wextra -Wpedantic -ffunction-sections \
-fPIC -fvisibility=hidden -std=gnu11 -pthread -Wno-error=attributes
-MAKE_ARGS= mdbx tools
-# No USE_GITHUB, we want the amalgamated build.
-GH_ACCOUNT= erthink
-GH_PROJECT= libmdbx
+NO_WRKSUBDIR= yes
+
+PLIST_SUB= VERSION=${PORTVERSION}
post-install:
${LN} -sf libmdbx.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libmdbx.so
diff --git a/databases/mdbx/distinfo b/databases/mdbx/distinfo
index 41266607beb3..9961a58fba59 100644
--- a/databases/mdbx/distinfo
+++ b/databases/mdbx/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1606664037
-SHA256 (libmdbx-amalgamated-0.9.2.tar.gz) = c35cc53d66d74ebfc86e39441ba26276541ac7892bf91dba1e70c83665a02767
-SIZE (libmdbx-amalgamated-0.9.2.tar.gz) = 556851
+TIMESTAMP = 1612390977
+SHA256 (libmdbx-amalgamated-0.9.3.tar.gz) = d12bc7189b746beaa85514fcd1fcf26b957bb8feadb11662a0e20c4e79410d3f
+SIZE (libmdbx-amalgamated-0.9.3.tar.gz) = 574341
diff --git a/databases/mdbx/files/patch-GNUmakefile b/databases/mdbx/files/patch-GNUmakefile
index c9966c5482bf..f0ce94b385a5 100644
--- a/databases/mdbx/files/patch-GNUmakefile
+++ b/databases/mdbx/files/patch-GNUmakefile
@@ -14,7 +14,7 @@
esac
endef
-SO_SUFFIX := $(shell $(uname2sosuffix))
-+SO_SUFFIX := so.0.9.2
++SO_SUFFIX := so.0.9.3
HEADERS := mdbx.h mdbx.h++
LIBRARIES := libmdbx.a libmdbx.$(SO_SUFFIX)