View | Details | Raw Unified | Return to bug 215032 | Differences between
and this patch

Collapse All | Expand All

(-)lang/erlang/Makefile (-10 / +10 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	erlang
4
PORTNAME=	erlang
5
PORTVERSION=	19.2
5
PORTVERSION=	19.2
6
PORTREVISION=	1
6
PORTREVISION=	2
7
PORTEPOCH=	3
7
PORTEPOCH=	3
8
CATEGORIES=	lang parallel java
8
CATEGORIES=	lang parallel java
9
MASTER_SITES=	http://www.erlang.org/download/:erlangorg		\
9
MASTER_SITES=	http://www.erlang.org/download/:erlangorg		\
Lines 54-62 Link Here
54
54
55
NATIVE_IMPLIES=	HIPE
55
NATIVE_IMPLIES=	HIPE
56
56
57
OPTIONS_DEFAULT=HIPE KQUEUE OPENSSL SCTP SMP THREADS
57
OPTIONS_DEFAULT=HIPE KQUEUE OPENSSL SCTP SMP THREADS DTRACE
58
OPTIONS_EXCLUDE_DragonFly=	HIPE NATIVE SCTP
58
OPTIONS_EXCLUDE_DragonFly=	HIPE NATIVE SCTP
59
59
60
.if !exists(/usr/sbin/dtrace)
61
OPTIONS_EXCLUDE+=	DTRACE
62
.endif
63
64
OPTIONS_EXCLUDE_FreeBSD_9=	DTRACE
65
OPTIONS_EXCLUDE_FreeBSD_10=	DTRACE
66
OPTIONS_EXCLUDE_i386=		DTRACE
67
60
ERL_RELEASE=	19.2
68
ERL_RELEASE=	19.2
61
69
62
USES=		gmake ncurses perl5
70
USES=		gmake ncurses perl5
Lines 205-218 Link Here
205
	@${ECHO_CMD} "MANPATH ${PREFIX}/lib/erlang/man" > ${WRKDIR}/erlang.conf
213
	@${ECHO_CMD} "MANPATH ${PREFIX}/lib/erlang/man" > ${WRKDIR}/erlang.conf
206
214
207
pre-configure:
215
pre-configure:
208
.if ${PORT_OPTIONS:MDTRACE}
209
	@if ! /sbin/kldstat | ${GREP} dtraceall >/dev/null 2>&1; then \
210
		${ECHO_CMD}; \
211
		${ECHO_CMD} "DTRACE option requires kernel module \"dtraceall\" to be loaded."; \
212
		${ECHO_CMD}; \
213
		exit 1; \
214
	fi
215
.endif
216
.if ! ${PORT_OPTIONS:MWX}
216
.if ! ${PORT_OPTIONS:MWX}
217
	echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP
217
	echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP
218
.endif
218
.endif
(-)lang/erlang-runtime19/Makefile (-10 / +10 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	erlang
4
PORTNAME=	erlang
5
PORTVERSION=	19.2
5
PORTVERSION=	19.2
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	lang parallel java
7
CATEGORIES=	lang parallel java
8
MASTER_SITES=	http://www.erlang.org/download/:erlangorg		\
8
MASTER_SITES=	http://www.erlang.org/download/:erlangorg		\
9
		http://erlang.stacken.kth.se/download/:erlangorg	\
9
		http://erlang.stacken.kth.se/download/:erlangorg	\
Lines 49-57 Link Here
49
49
50
NATIVE_IMPLIES=	HIPE
50
NATIVE_IMPLIES=	HIPE
51
51
52
OPTIONS_DEFAULT=HIPE KQUEUE OPENSSL SCTP SMP THREADS
52
OPTIONS_DEFAULT=HIPE KQUEUE OPENSSL SCTP SMP THREADS DTRACE
53
OPTIONS_EXCLUDE_DragonFly=	HIPE NATIVE SCTP
53
OPTIONS_EXCLUDE_DragonFly=	HIPE NATIVE SCTP
54
54
55
.if !exists(/usr/sbin/dtrace)
56
OPTIONS_EXCLUDE+=	DTRACE
57
.endif
58
59
OPTIONS_EXCLUDE_FreeBSD_9=	DTRACE
60
OPTIONS_EXCLUDE_FreeBSD_10=	DTRACE
61
OPTIONS_EXCLUDE_i386=		DTRACE
62
55
ERL_RELEASE=	19.2
63
ERL_RELEASE=	19.2
56
64
57
USES=		gmake ncurses perl5
65
USES=		gmake ncurses perl5
Lines 185-198 Link Here
185
# links in the documentation.
193
# links in the documentation.
186
194
187
pre-configure:
195
pre-configure:
188
.if ${PORT_OPTIONS:MDTRACE}
189
	@if ! /sbin/kldstat | ${GREP} dtraceall >/dev/null 2>&1; then \
190
		${ECHO_CMD}; \
191
		${ECHO_CMD} "DTRACE option requires kernel module \"dtraceall\" to be loaded."; \
192
		${ECHO_CMD}; \
193
		exit 1; \
194
	fi
195
.endif
196
.if ! ${PORT_OPTIONS:MWX}
196
.if ! ${PORT_OPTIONS:MWX}
197
	echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP
197
	echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP
198
.endif
198
.endif

Return to bug 215032