aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Cottlehuber <dch@FreeBSD.org>2022-11-30 08:03:51 +0000
committerDave Cottlehuber <dch@FreeBSD.org>2022-11-30 08:03:51 +0000
commit3884a4a6d4756094921df12d65edfdfe646fa8bf (patch)
tree6c7ee60dfc41bf4e5f07a22454c496c78962859e
parentead85e30a3f814beb11c3a448bd641b47a9335ab (diff)
downloadports-3884a4a6d4756094921df12d65edfdfe646fa8bf.tar.gz
ports-3884a4a6d4756094921df12d65edfdfe646fa8bf.zip
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
-rw-r--r--databases/erlfdb/Makefile6
-rw-r--r--databases/erlfdb/files/patch-rebar.config23
-rw-r--r--databases/erlfdb/pkg-descr2
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