git: 36f8f3be82b7 - main - devel/erlang-syslog: update for OTP24
Dave Cottlehuber
dch at FreeBSD.org
Thu Sep 30 22:07:59 UTC 2021
The branch main has been updated by dch:
URL: https://cgit.FreeBSD.org/ports/commit/?id=36f8f3be82b7e8400e2b2376173e595c03350fb3
commit 36f8f3be82b7e8400e2b2376173e595c03350fb3
Author: Dave Cottlehuber <dch at FreeBSD.org>
AuthorDate: 2021-09-29 21:16:46 +0000
Commit: Dave Cottlehuber <dch at FreeBSD.org>
CommitDate: 2021-09-30 22:03:13 +0000
devel/erlang-syslog: update for OTP24
- switch to rebar3
- switch to erlang-native-compiler
This avoids the erl_interface error from unmaintained
build chains for a perfectly cromulent syslog handler
---
devel/erlang-syslog/Makefile | 7 ++++++-
devel/erlang-syslog/distinfo | 2 +-
devel/erlang-syslog/files/patch-rebar.config | 22 ++++++++++++++++++++++
3 files changed, 29 insertions(+), 2 deletions(-)
diff --git a/devel/erlang-syslog/Makefile b/devel/erlang-syslog/Makefile
index 8fdd51350f08..aeca92ccd69c 100644
--- a/devel/erlang-syslog/Makefile
+++ b/devel/erlang-syslog/Makefile
@@ -1,12 +1,17 @@
PORTNAME= syslog
PORTVERSION= 1.0.5
+PORTREVISION= 1
CATEGORIES= devel
PKGNAMEPREFIX= erlang-
MAINTAINER= erlang at FreeBSD.org
COMMENT= Erlang port driver for interacting with syslog
-USES= erlang:rebar
+LICENSE= BSD2CLAUSE
+
+BUILD_DEPENDS= enc:devel/erlang-native-compiler
+
+USES= erlang:rebar3
USE_GITHUB= yes
GH_ACCOUNT= Vagabond
GH_PROJECT= ${PKGNAMEPREFIX}${PORTNAME}
diff --git a/devel/erlang-syslog/distinfo b/devel/erlang-syslog/distinfo
index c5b1c176d158..621b55ef9c93 100644
--- a/devel/erlang-syslog/distinfo
+++ b/devel/erlang-syslog/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1495355905
+TIMESTAMP = 1632942796
SHA256 (Vagabond-erlang-syslog-1.0.5_GH0.tar.gz) = 3a49e7973ff8522bede8e73ff2465e6ad306205a4bffa1ed0efe4740819810e6
SIZE (Vagabond-erlang-syslog-1.0.5_GH0.tar.gz) = 6345
diff --git a/devel/erlang-syslog/files/patch-rebar.config b/devel/erlang-syslog/files/patch-rebar.config
new file mode 100644
index 000000000000..89980531bc12
--- /dev/null
+++ b/devel/erlang-syslog/files/patch-rebar.config
@@ -0,0 +1,22 @@
+--- rebar.config.orig 2021-09-29 19:21:16 UTC
++++ rebar.config
+@@ -8,16 +8,8 @@
+ {platform_define, "^[0-9]+", namespaced_types}
+ ]}.
+
+-{plugins, [
+- { pc, { git, "git://github.com/blt/port_compiler.git", {tag, "1.6.0"}}}
+-]}.
+-
+ {artifacts, ["priv/syslog_drv.so"]}.
+
+-{provider_hooks, [
+- {post,
+- [
+- {compile, {pc, compile}},
+- {clean, {pc, clean}}
+- ]
+-}]}.
++{pre_hooks, [{"", compile, "/usr/local/bin/enc compile"}]}.
++{post_hooks, [{"", clean, "/usr/local/bin/enc clean"}]}.
++
More information about the dev-commits-ports-all
mailing list