Date: Mon, 24 Jun 2019 21:02:20 +0000 (UTC) From: Jimmy Olgeni <olgeni@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r505053 - head/lang/erlang-runtime21 Message-ID: <201906242102.x5OL2KjY074335@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906242102.x5OL2KjY074335>