1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00

lang/erlang-runtime21: restore Corba support.

Upstream moved Corba applications to a separate repository, but it
still requires a fully configured source tree to build.

Add a CORBA option (enabled by default) to restore the pre-21
behavior, with orber, ic, and the other Corba applications installed.
This commit is contained in:
Jimmy Olgeni 2019-04-13 16:50:06 +00:00
parent fef1e05608
commit 524c3168ac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=498814
2 changed files with 21 additions and 5 deletions

View File

@ -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-*

View File

@ -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