git: 3884a4a6d475 - main - databases/erlfdb: enable port after FDB & erlang upgrades
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Nov 2022 08:04:06 UTC
The branch main has been updated by dch: URL: https://cgit.FreeBSD.org/ports/commit/?id=3884a4a6d4756094921df12d65edfdfe646fa8bf commit 3884a4a6d4756094921df12d65edfdfe646fa8bf Author: Dave Cottlehuber <dch@FreeBSD.org> AuthorDate: 2022-11-30 08:03:51 +0000 Commit: Dave Cottlehuber <dch@FreeBSD.org> CommitDate: 2022-11-30 08:03:51 +0000 databases/erlfdb: enable port after FDB & erlang upgrades - switch to erlang enc to un-break build - use new header exposed in FoundationDB 7.1.25 update Fixes: 18d0404d2ca9abb5b46176c96bdc4c284acfca22 BROKEN Sponsored by: SkunkWerks, GmbH --- databases/erlfdb/Makefile | 6 +----- databases/erlfdb/files/patch-rebar.config | 23 +++++++++++++++++++++++ databases/erlfdb/pkg-descr | 2 ++ 3 files changed, 26 insertions(+), 5 deletions(-) diff --git a/databases/erlfdb/Makefile b/databases/erlfdb/Makefile index ee70990a6926..c274c57a982e 100644 --- a/databases/erlfdb/Makefile +++ b/databases/erlfdb/Makefile @@ -1,20 +1,16 @@ PORTNAME= erlfdb PORTVERSION= 1.3.5 -PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= databases MAINTAINER= dch@FreeBSD.org COMMENT= FoundationDB client in Erlang via FDB C bindings -WWW= https://github.com/apache/couchdb-erlfdb LICENSE= APACHE20 -BROKEN= does not build: ld: error: unable to find library -lerl_interface - LIB_DEPENDS= libfdb_c.so:databases/foundationdb -USES= erlang:rebar +USES= erlang:rebar3,enc USE_GITHUB= yes GH_ACCOUNT= apache GH_PROJECT= couchdb-${PORTNAME} diff --git a/databases/erlfdb/files/patch-rebar.config b/databases/erlfdb/files/patch-rebar.config new file mode 100644 index 000000000000..7360225fb8b4 --- /dev/null +++ b/databases/erlfdb/files/patch-rebar.config @@ -0,0 +1,23 @@ +--- rebar.config.orig 2022-01-25 23:33:52 UTC ++++ rebar.config +@@ -1,18 +1,5 @@ +-{plugins, [ +- coveralls, +- pc +-]}. +- +-{project_plugins, [ +- erlfmt +-]}. +- +-{provider_hooks, [ +- {pre, [ +- {compile, {pc, compile}}, +- {clean, {pc, clean}} +- ]} +-]}. ++{pre_hooks, [{"", compile, "enc compile"}]}. ++{post_hooks, [{"", clean, "enc clean"}]}. + + {port_specs, [ + {"priv/erlfdb_nif.so", ["c_src/*.c"]} diff --git a/databases/erlfdb/pkg-descr b/databases/erlfdb/pkg-descr index 9ca8987304ef..1a2a28fb4ef9 100644 --- a/databases/erlfdb/pkg-descr +++ b/databases/erlfdb/pkg-descr @@ -1,3 +1,5 @@ FoundationDB native Erlang bindings, a NIF wrapper for the FoundationDB C API, this project also provides a conforming implementation of the Tuple and Directory layers. + +WWW: https://github.com/apache/couchdb-erlfdb