Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 2019 12:09:15 +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: r502454 - head/lang/erlang-runtime22
Message-ID:  <201905241209.x4OC9FC4035667@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Fri May 24 12:09:15 2019
New Revision: 502454
URL: https://svnweb.freebsd.org/changeset/ports/502454

Log:
  lang/erlang-runtime22: add Corba support and remove obsolete GS option.

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

Modified: head/lang/erlang-runtime22/Makefile
==============================================================================
--- head/lang/erlang-runtime22/Makefile	Fri May 24 11:52:15 2019	(r502453)
+++ head/lang/erlang-runtime22/Makefile	Fri May 24 12:09:15 2019	(r502454)
@@ -4,6 +4,7 @@
 PORTNAME=	erlang
 DISTVERSIONPREFIX=	OTP-
 DISTVERSION=	22.0.1
+PORTREVISION=	1
 CATEGORIES=	lang parallel java
 PKGNAMESUFFIX=	-runtime22
 DIST_SUBDIR=	erlang
@@ -16,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
 
@@ -28,12 +33,12 @@ 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 KQUEUE OPENSSL SCTP THREADS
+OPTIONS_DEFINE=	CORBA DIRTY DTRACE HIPE JAVA KQUEUE NATIVE ODBC OPENSSL SCTP THREADS WX
+OPTIONS_DEFAULT=CORBA DIRTY DTRACE 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
 KQUEUE_DESC=	Enable Kernel Poll (kqueue) support
 NATIVE_DESC=	Enable native libraries
@@ -63,7 +68,6 @@ DIRTY_CONFIGURE_ENABLE=	dirty-schedulers
 DTRACE_CFLAGS=		-fno-omit-frame-pointer
 DTRACE_CONFIGURE_WITH=	dynamic-trace=dtrace
 DTRACE_VARS=		STRIP=""
-GS_USES=		tk:run
 HIPE_CONFIGURE_ENABLE=	hipe
 JAVA_CONFIGURE_ENV=	ac_cv_prog_JAVAC="${JAVAC}"
 JAVA_CONFIGURE_WITH=	javac
@@ -109,8 +113,14 @@ post-configure-ODBC-on:
 pre-build-NATIVE-on:
 	@cd ${WRKSRC} && ${MAKE_CMD} clean
 
-post-install-GS-off:
-	${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/gs-*
+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}
 
 post-install-JAVA-off:
 	${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/jinterface-*

Modified: head/lang/erlang-runtime22/distinfo
==============================================================================
--- head/lang/erlang-runtime22/distinfo	Fri May 24 11:52:15 2019	(r502453)
+++ head/lang/erlang-runtime22/distinfo	Fri May 24 12:09:15 2019	(r502454)
@@ -1,3 +1,5 @@
-TIMESTAMP = 1558518766
+TIMESTAMP = 1558688688
 SHA256 (erlang/erlang-otp-OTP-22.0.1_GH0.tar.gz) = 694f133abfca3c7fb8376b223ea484413bcd16b82354f178fba798f37335f163
 SIZE (erlang/erlang-otp-OTP-22.0.1_GH0.tar.gz) = 54793796
+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?201905241209.x4OC9FC4035667>