git: ba2a4388bd55 - main - lang/erlang-runtime26: add inline docs to erl shell
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Jan 2024 00:06:39 UTC
The branch main has been updated by dch:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ba2a4388bd552ffe399f059c42fa16507757c6b0
commit ba2a4388bd552ffe399f059c42fa16507757c6b0
Author: Dave Cottlehuber <dch@FreeBSD.org>
AuthorDate: 2024-01-05 00:06:35 +0000
Commit: Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2024-01-05 00:06:35 +0000
lang/erlang-runtime26: add inline docs to erl shell
PR: 271541
Sponsored by: SkunkWerks, GmbH
---
lang/erlang-runtime26/Makefile | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/lang/erlang-runtime26/Makefile b/lang/erlang-runtime26/Makefile
index 0612350932cb..772f300cd87a 100644
--- a/lang/erlang-runtime26/Makefile
+++ b/lang/erlang-runtime26/Makefile
@@ -1,6 +1,7 @@
PORTNAME= erlang
DISTVERSIONPREFIX= OTP-
DISTVERSION= 26.2.1
+PORTREVISION= 1
CATEGORIES= lang parallel java
PKGNAMESUFFIX= -runtime26
DIST_SUBDIR= erlang
@@ -25,7 +26,6 @@ CONFIGURE_ARGS= --enable-dirty-schedulers \
--enable-kernel-poll \
--enable-smp-support \
--enable-threads
-MAKE_ARGS= all
_ERLANG_LIB= ${PORTNAME}${PORTVERSION:C/\..*//}
@@ -37,7 +37,7 @@ WRKSRC= ${WRKSRC_otp}
OPTIONS_DEFINE= CHUNKS CORBA DTRACE JAVA KQUEUE ODBC OPENSSL SCTP \
SHARING WX
-OPTIONS_DEFAULT= CORBA DTRACE KQUEUE OPENSSL SCTP SHARING
+OPTIONS_DEFAULT= CHUNKS CORBA DTRACE KQUEUE OPENSSL SCTP SHARING
.if !exists(/usr/sbin/dtrace)
OPTIONS_EXCLUDE+= DTRACE
@@ -63,8 +63,6 @@ WX_DESC= Enable WX application
# probes fixed does not match the number of defined probes (54 != 132,
# respectively)" you probably misconfigured DTrace in some way.
-CHUNKS_MAKE_ARGS+= DOC_TARGETS=chunks \
- docs
DTRACE_CONFIGURE_WITH= dynamic-trace=dtrace
DTRACE_CFLAGS= -fno-omit-frame-pointer
DTRACE_VARS= STRIP=""
@@ -118,6 +116,12 @@ post-configure-ODBC-on:
post-configure-ODBC-off:
echo "disabled by port options" > ${WRKSRC}/lib/odbc/SKIP
+post-install-CHUNKS-on:
+ cd ${WRKSRC_otp} && \
+ ${SETENV} ERL_TOP=${WRKSRC_otp} \
+ ${MAKE_CMD} release_docs DOC_TARGETS=chunks \
+ RELEASE_ROOT=${STAGEDIR}${PREFIX}/lib/${_ERLANG_LIB}
+
post-build-CORBA-on:
cd ${WRKSRC_corba} && \
${SETENV} OVERRIDE_TARGET=${CONFIGURE_TARGET} ERL_TOP=${WRKSRC_otp} \