aboutsummaryrefslogtreecommitdiff
path: root/lang/erlang-runtime21
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2019-04-13 16:50:06 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2019-04-13 16:50:06 +0000
commit524c3168ac4600773cf718a4f4f05224883e89b7 (patch)
treeeb8db2837f1fbe21e2550737833066ed26355e7e /lang/erlang-runtime21
parentfef1e05608c5cd64847816b9aafc1bfa0deebf57 (diff)
downloadports-524c3168ac4600773cf718a4f4f05224883e89b7.tar.gz
ports-524c3168ac4600773cf718a4f4f05224883e89b7.zip
Notes
Diffstat (limited to 'lang/erlang-runtime21')
-rw-r--r--lang/erlang-runtime21/Makefile22
-rw-r--r--lang/erlang-runtime21/distinfo4
2 files changed, 21 insertions, 5 deletions
diff --git a/lang/erlang-runtime21/Makefile b/lang/erlang-runtime21/Makefile
index f797f5fbbd84..08703ddb7871 100644
--- a/lang/erlang-runtime21/Makefile
+++ b/lang/erlang-runtime21/Makefile
@@ -17,10 +17,14 @@ LICENSE= APACHE20
BROKEN_sparc64= Fails to build: error: fp_except undeclared
USES= autoreconf:build gmake ncurses perl5
-USE_GITHUB= yes
-GH_PROJECT= otp
+USE_GITHUB= nodefault
+GH_ACCOUNT= erlang:otp,corba
+GH_PROJECT= otp:otp corba:corba
+GH_TAGNAME= 4.5.2:corba
USE_PERL5= build
+WRKSRC= ${WRKSRC_otp}
+
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE=yes
@@ -29,10 +33,11 @@ SUB_LIST= ERLANG_LIB=${ERLANG_LIB}
ERLANG_LIB= ${PORTNAME}${PORTVERSION:C/\..*//}
-OPTIONS_DEFINE= DIRTY DTRACE GS HIPE JAVA KQUEUE NATIVE ODBC OPENSSL SCTP THREADS WX
-OPTIONS_DEFAULT=DIRTY DTRACE HIPE KQUEUE OPENSSL SCTP THREADS
+OPTIONS_DEFINE= CORBA DIRTY DTRACE GS HIPE JAVA KQUEUE NATIVE ODBC OPENSSL SCTP THREADS WX
+OPTIONS_DEFAULT=CORBA DIRTY DTRACE HIPE KQUEUE OPENSSL SCTP THREADS
OPTIONS_EXCLUDE_powerpc64= HIPE
+CORBA_DESC= Enable Corba support
DIRTY_DESC= Enable Dirty schedulers
GS_DESC= Enable GS application (deprecated)
HIPE_DESC= Build native HiPE compiler
@@ -112,6 +117,15 @@ post-configure-ODBC-on:
pre-build-NATIVE-on:
@cd ${WRKSRC} && ${MAKE_CMD} clean
+post-build-CORBA-on:
+ cd ${WRKSRC_corba} \
+ && ${SETENV} OVERRIDE_TARGET=${CONFIGURE_TARGET} ERL_TOP=${WRKSRC_otp} ${MAKE_CMD}
+
+post-install-CORBA-on:
+ cd ${WRKSRC_corba} \
+ && ${SETENV} OVERRIDE_TARGET=${CONFIGURE_TARGET} ERL_TOP=${WRKSRC_otp} \
+ ${MAKE_CMD} release RELEASE_ROOT=${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib
+
post-install-GS-off:
${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/gs-*
diff --git a/lang/erlang-runtime21/distinfo b/lang/erlang-runtime21/distinfo
index ac035dd4c05d..ec9b165685ba 100644
--- a/lang/erlang-runtime21/distinfo
+++ b/lang/erlang-runtime21/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1555074740
+TIMESTAMP = 1555153304
SHA256 (erlang/erlang-otp-OTP-21.3.4_GH0.tar.gz) = 1af7c01e80d04423c14449fcb7c5f3b11e0375fe42d01b088ccef4cbcb733c3a
SIZE (erlang/erlang-otp-OTP-21.3.4_GH0.tar.gz) = 54022783
+SHA256 (erlang/erlang-corba-4.5.2_GH0.tar.gz) = 36f397e6aef97eebda629badb0570cb4ddc979a6d1557bc487a9e13671facf8f
+SIZE (erlang/erlang-corba-4.5.2_GH0.tar.gz) = 1422685