Date: Fri, 17 Aug 2012 13:16:43 +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: r302681 - head/lang/erlang Message-ID: <201208171316.q7HDGhoO074064@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: olgeni Date: Fri Aug 17 13:16:43 2012 New Revision: 302681 URL: http://svn.freebsd.org/changeset/ports/302681 Log: Add experimental DTrace support. Obtained from: Kenji Rikitake's Erlang port on github https://github.com/jj1bdx/erlang-freebsd-port Modified: head/lang/erlang/Makefile Modified: head/lang/erlang/Makefile ============================================================================== --- head/lang/erlang/Makefile Fri Aug 17 12:12:52 2012 (r302680) +++ head/lang/erlang/Makefile Fri Aug 17 13:16:43 2012 (r302681) @@ -44,7 +44,7 @@ SUB_LIST= TOOLS_VSN=${TOOLS_VSN} MAKE_JOBS_UNSAFE=yes -OPTIONS_DEFINE= DOCS GS HIPE JAVA KQUEUE ODBC OPENSSL SCTP SMP THREADS WX +OPTIONS_DEFINE= DOCS GS HIPE JAVA KQUEUE ODBC OPENSSL SCTP SMP THREADS WX DTRACE OPTIONS_SINGLE= ODBC OPTIONS_SINGLE_ODBC= IODBC UNIXODBC @@ -54,11 +54,26 @@ SCTP_DESC= Enable SCTP support SMP_DESC= Enable SMP support WX_DESC= Enable WX application GS_DESC= Enable GS application (deprecated) +DTRACE_DESC= Enable DTrace support (experimental) OPTIONS_DEFAULT=SMP OPENSSL THREADS SCTP KQUEUE .include <bsd.port.options.mk> +# See http://wiki.freebsd.org/DTrace to learn how to enable DTrace +# on your system. You will need to configure STRIP, WITH_CTF and +# CFLAGS in your make.conf before building. + +# 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. + +.if ${PORT_OPTIONS:MDTRACE} +CONFIGURE_ARGS+=--with-dynamic-trace=dtrace +.else +CONFIGURE_ARGS+=--without-dynamic-trace +.endif + .if ${PORT_OPTIONS:MOPENSSL} USE_OPENSSL= yes CONFIGURE_ARGS+=--with-ssl=${OPENSSLBASE}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208171316.q7HDGhoO074064>