aboutsummaryrefslogtreecommitdiff
path: root/lang/erlang-runtime16
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>2018-11-05 23:20:17 +0000
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>2018-11-05 23:20:17 +0000
commit88bd5a054acfb39c07f9af85dbf2f5f30f825214 (patch)
tree04d22ce1cfcbaa0c7df7e739c6c47549934a18ba /lang/erlang-runtime16
parentd186c9c3567b4a3179c6bda1b6d93f2c89eafe16 (diff)
downloadports-88bd5a054acfb39c07f9af85dbf2f5f30f825214.tar.gz
ports-88bd5a054acfb39c07f9af85dbf2f5f30f825214.zip
Notes
Diffstat (limited to 'lang/erlang-runtime16')
-rw-r--r--lang/erlang-runtime16/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/erlang-runtime16/Makefile b/lang/erlang-runtime16/Makefile
index 07bb416b2c0c..0585c9fd1078 100644
--- a/lang/erlang-runtime16/Makefile
+++ b/lang/erlang-runtime16/Makefile
@@ -19,6 +19,9 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= erlang@FreeBSD.org
COMMENT= Functional programming language from Ericsson
+BROKEN_SSL= openssl111
+BROKEN_SSL_REASON_openssl111= Does not support OpenSSL 1.1, use Erlang 19+
+
WRKSRC= ${WRKDIR}/otp_src_${ERLANG_REL}
ERLANG_LIB= ${PORTNAME}${PORTVERSION:C/\..*//}
@@ -45,6 +48,8 @@ OPTIONS_EXCLUDE+= DTRACE
OPTIONS_EXCLUDE_DragonFly= HIPE SCTP
+OPENSSL_VARS= BROKEN_SSL=openssl-devel openssl111
+
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
USES= gmake ncurses perl5
@@ -75,6 +80,14 @@ WX_VARS= USE_WX=2.8+ WX_COMPS="wx contrib" USE_GL="gl glu"
.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD
+. if ${OSVERSION} >= 1200085 && ${SSL_DEFAULT} == base
+BROKEN= Does not support OpenSSL 1.1, use Erlang 19+
+. endif
+.endif
+
.if ${OPSYS} == FreeBSD
CFLAGS+= -DMAP_NORESERVE=0
.endif