Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Apr 2019 16:50:06 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r498814 - head/lang/erlang-runtime21
Message-ID:  <201904131650.x3DGo6MZ019188@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Sat Apr 13 16:50:06 2019
New Revision: 498814
URL: https://svnweb.freebsd.org/changeset/ports/498814

Log:
  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.

Modified:
  head/lang/erlang-runtime21/Makefile
  head/lang/erlang-runtime21/distinfo

Modified: head/lang/erlang-runtime21/Makefile
==============================================================================
--- head/lang/erlang-runtime21/Makefile	Sat Apr 13 15:01:16 2019	(r498813)
+++ head/lang/erlang-runtime21/Makefile	Sat Apr 13 16:50:06 2019	(r498814)
@@ -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
@@ -111,6 +116,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-*

Modified: head/lang/erlang-runtime21/distinfo
==============================================================================
--- head/lang/erlang-runtime21/distinfo	Sat Apr 13 15:01:16 2019	(r498813)
+++ head/lang/erlang-runtime21/distinfo	Sat Apr 13 16:50:06 2019	(r498814)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904131650.x3DGo6MZ019188>