aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2019-05-24 20:09:15 +0800
committerolgeni <olgeni@FreeBSD.org>2019-05-24 20:09:15 +0800
commit5c6eef9f46ccd813a7d04c8514507b219ba1b8d0 (patch)
tree6bc2e344c823d80df5661a0e7a94d73ee30b96fc /lang
parent72545856a5b6fbf2f377907f687137c0f163cacb (diff)
downloadfreebsd-ports-gnome-5c6eef9f46ccd813a7d04c8514507b219ba1b8d0.tar.gz
freebsd-ports-gnome-5c6eef9f46ccd813a7d04c8514507b219ba1b8d0.tar.zst
freebsd-ports-gnome-5c6eef9f46ccd813a7d04c8514507b219ba1b8d0.zip
lang/erlang-runtime22: add Corba support and remove obsolete GS option.
Diffstat (limited to 'lang')
-rw-r--r--lang/erlang-runtime22/Makefile26
-rw-r--r--lang/erlang-runtime22/distinfo4
2 files changed, 21 insertions, 9 deletions
diff --git a/lang/erlang-runtime22/Makefile b/lang/erlang-runtime22/Makefile
index c7123a3a0cc3..51a1bbb4355c 100644
--- a/lang/erlang-runtime22/Makefile
+++ b/lang/erlang-runtime22/Makefile
@@ -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-*
diff --git a/lang/erlang-runtime22/distinfo b/lang/erlang-runtime22/distinfo
index 330faa129afe..dc7420c2d767 100644
--- a/lang/erlang-runtime22/distinfo
+++ b/lang/erlang-runtime22/distinfo
@@ -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