FreeBSD Bugzilla – Attachment 178245 Details for
Bug 215032
lang/erlang: enable dtrace by default where possible
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
erlang patch
erlang.diff (text/plain), 2.47 KB, created by
Antoine Brodin
on 2016-12-24 09:56:09 UTC
(
hide
)
Description:
erlang patch
Filename:
MIME Type:
Creator:
Antoine Brodin
Created:
2016-12-24 09:56:09 UTC
Size:
2.47 KB
patch
obsolete
>Index: lang/erlang/Makefile >=================================================================== >--- lang/erlang/Makefile (revision 429314) >+++ lang/erlang/Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= erlang > PORTVERSION= 19.2 >-PORTREVISION= 1 >+PORTREVISION= 2 > PORTEPOCH= 3 > CATEGORIES= lang parallel java > MASTER_SITES= http://www.erlang.org/download/:erlangorg \ >@@ -54,9 +54,17 @@ > > NATIVE_IMPLIES= HIPE > >-OPTIONS_DEFAULT=HIPE KQUEUE OPENSSL SCTP SMP THREADS >+OPTIONS_DEFAULT=HIPE KQUEUE OPENSSL SCTP SMP THREADS DTRACE > OPTIONS_EXCLUDE_DragonFly= HIPE NATIVE SCTP > >+.if !exists(/usr/sbin/dtrace) >+OPTIONS_EXCLUDE+= DTRACE >+.endif >+ >+OPTIONS_EXCLUDE_FreeBSD_9= DTRACE >+OPTIONS_EXCLUDE_FreeBSD_10= DTRACE >+OPTIONS_EXCLUDE_i386= DTRACE >+ > ERL_RELEASE= 19.2 > > USES= gmake ncurses perl5 >@@ -205,14 +213,6 @@ > @${ECHO_CMD} "MANPATH ${PREFIX}/lib/erlang/man" > ${WRKDIR}/erlang.conf > > pre-configure: >-.if ${PORT_OPTIONS:MDTRACE} >- @if ! /sbin/kldstat | ${GREP} dtraceall >/dev/null 2>&1; then \ >- ${ECHO_CMD}; \ >- ${ECHO_CMD} "DTRACE option requires kernel module \"dtraceall\" to be loaded."; \ >- ${ECHO_CMD}; \ >- exit 1; \ >- fi >-.endif > .if ! ${PORT_OPTIONS:MWX} > echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP > .endif >Index: lang/erlang-runtime19/Makefile >=================================================================== >--- lang/erlang-runtime19/Makefile (revision 429314) >+++ lang/erlang-runtime19/Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= erlang > PORTVERSION= 19.2 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= lang parallel java > MASTER_SITES= http://www.erlang.org/download/:erlangorg \ > http://erlang.stacken.kth.se/download/:erlangorg \ >@@ -49,9 +49,17 @@ > > NATIVE_IMPLIES= HIPE > >-OPTIONS_DEFAULT=HIPE KQUEUE OPENSSL SCTP SMP THREADS >+OPTIONS_DEFAULT=HIPE KQUEUE OPENSSL SCTP SMP THREADS DTRACE > OPTIONS_EXCLUDE_DragonFly= HIPE NATIVE SCTP > >+.if !exists(/usr/sbin/dtrace) >+OPTIONS_EXCLUDE+= DTRACE >+.endif >+ >+OPTIONS_EXCLUDE_FreeBSD_9= DTRACE >+OPTIONS_EXCLUDE_FreeBSD_10= DTRACE >+OPTIONS_EXCLUDE_i386= DTRACE >+ > ERL_RELEASE= 19.2 > > USES= gmake ncurses perl5 >@@ -185,14 +193,6 @@ > # links in the documentation. > > pre-configure: >-.if ${PORT_OPTIONS:MDTRACE} >- @if ! /sbin/kldstat | ${GREP} dtraceall >/dev/null 2>&1; then \ >- ${ECHO_CMD}; \ >- ${ECHO_CMD} "DTRACE option requires kernel module \"dtraceall\" to be loaded."; \ >- ${ECHO_CMD}; \ >- exit 1; \ >- fi >-.endif > .if ! ${PORT_OPTIONS:MWX} > echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP > .endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 215032
:
177644
| 178245