svn commit: r505053 - head/lang/erlang-runtime21
Jimmy Olgeni
olgeni at FreeBSD.org
Mon Jun 24 21:02:21 UTC 2019
Author: olgeni
Date: Mon Jun 24 21:02:20 2019
New Revision: 505053
URL: https://svnweb.freebsd.org/changeset/ports/505053
Log:
lang/erlang-runtime21: install dtrace files (*.d) if DTRACE is enabled.
Also, remove BROKEN_SSL=openssl111 since it has been reported to work.
Modified:
head/lang/erlang-runtime21/Makefile
Modified: head/lang/erlang-runtime21/Makefile
==============================================================================
--- head/lang/erlang-runtime21/Makefile Mon Jun 24 20:03:56 2019 (r505052)
+++ head/lang/erlang-runtime21/Makefile Mon Jun 24 21:02:20 2019 (r505053)
@@ -4,6 +4,7 @@
PORTNAME= erlang
DISTVERSIONPREFIX= OTP-
DISTVERSION= 21.3.8.4
+PORTREVISION= 1
# NB when bumping OTP versions also bump PORTREVISION in databases/couchdb2
CATEGORIES= lang parallel java
PKGNAMESUFFIX= -runtime21
@@ -58,8 +59,6 @@ OPTIONS_EXCLUDE_armv6= DTRACE
OPTIONS_EXCLUDE_armv7= DTRACE
OPTIONS_EXCLUDE_i386= DTRACE
-OPENSSL_VARS= BROKEN_SSL=openssl111
-
# If you run Erlang and get a message resembling "WARNING: number of
# probes fixed does not match the number of defined probes (54 != 132,
# respectively)" you probably misconfigured DTrace in some way.
@@ -141,9 +140,16 @@ post-install-WX-off:
${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/observer-*
${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-*
+post-install-DTRACE-on:
+ ${MKDIR} ${STAGEDIR}${DATADIR}/dtrace
+ ${INSTALL_DATA} ${WRKSRC}/erts/emulator/beam/*.d \
+ ${WRKSRC}/lib/runtime_tools/c_src/*.d \
+ ${WRKSRC}/lib/runtime_tools/examples/*.d \
+ ${STAGEDIR}${DATADIR}/dtrace
+
post-stage:
${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete
- @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type f -o -type l \
+ @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* ${DATADIR_REL}/* -type f -o -type l \
| ${SORT} >> ${TMPPLIST}
.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list