summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/erlang-runtime22/Makefile2
-rw-r--r--lang/erlang-runtime22/distinfo6
-rw-r--r--lang/erlang-runtime22/files/patch-configure.src40
3 files changed, 44 insertions, 4 deletions
diff --git a/lang/erlang-runtime22/Makefile b/lang/erlang-runtime22/Makefile
index 572fa5d25feb..752bad2012d2 100644
--- a/lang/erlang-runtime22/Makefile
+++ b/lang/erlang-runtime22/Makefile
@@ -3,7 +3,7 @@
PORTNAME= erlang
DISTVERSIONPREFIX= OTP-
-DISTVERSION= 22.1.8
+DISTVERSION= 22.2
CATEGORIES= lang parallel java
PKGNAMESUFFIX= -runtime22
DIST_SUBDIR= erlang
diff --git a/lang/erlang-runtime22/distinfo b/lang/erlang-runtime22/distinfo
index b8fa7066ea11..80a6bbb89a2d 100644
--- a/lang/erlang-runtime22/distinfo
+++ b/lang/erlang-runtime22/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1574374193
-SHA256 (erlang/erlang-otp-OTP-22.1.8_GH0.tar.gz) = 7302be70cee2c33689bf2c2a3e7cfee597415d0fb3e4e71bd3e86bd1eff9cfdc
-SIZE (erlang/erlang-otp-OTP-22.1.8_GH0.tar.gz) = 54967877
+TIMESTAMP = 1576027486
+SHA256 (erlang/erlang-otp-OTP-22.2_GH0.tar.gz) = 232c37a502c7e491a9cbf86acb7af64fbc1a793fcbcbd0093cb029cf1c3830a7
+SIZE (erlang/erlang-otp-OTP-22.2_GH0.tar.gz) = 55736930
SHA256 (erlang/erlang-corba-4.5.2_GH0.tar.gz) = 36f397e6aef97eebda629badb0570cb4ddc979a6d1557bc487a9e13671facf8f
SIZE (erlang/erlang-corba-4.5.2_GH0.tar.gz) = 1422685
diff --git a/lang/erlang-runtime22/files/patch-configure.src b/lang/erlang-runtime22/files/patch-configure.src
new file mode 100644
index 000000000000..ebfd666e4558
--- /dev/null
+++ b/lang/erlang-runtime22/files/patch-configure.src
@@ -0,0 +1,40 @@
+--- configure.src.orig 2019-12-06 10:29:10 UTC
++++ configure.src
+@@ -49,7 +49,7 @@ skip_applications=
+ while test $# != 0; do
+ case $1 in
+ -srcdir=* | --srcdir=*)
+- user_srcdir=`expr "$1" : '[^=]*=\(.*\)'`
++ user_srcdir=`expr -- "$1" : '[^=]*=\(.*\)'`
+ if test "$ERL_TOP" != ""; then
+ echo "WARNING: Overriding ERL_TOP with $user_srcdir" 1>&2
+ echo "" 1>&2
+@@ -89,7 +89,7 @@ while test $# != 0; do
+ echo "" 1>&2
+ ;;
+ -cache-file=* | --cache-file=* )
+- static_cache=`expr "$1" : '[^=]*=\(.*\)'`
++ static_cache=`expr -- "$1" : '[^=]*=\(.*\)'`
+ if test "$static_cache" != "/dev/null"; then
+ echo "WARNING: Only using config cache file '$static_cache' as static cache" 1>&2
+ echo "" 1>&2
+@@ -126,8 +126,8 @@ while test $# != 0; do
+ mXY_build=
+ fi;;
+ CFLAGS=* | LDFLAGS=*)
+- flgs_var=`expr "$1" : '\([^=]*\)=.*'`
+- flgs_val=`expr "$1" : '[^=]*=\(.*\)'`
++ flgs_var=`expr -- "$1" : '\([^=]*\)=.*'`
++ flgs_val=`expr -- "$1" : '[^=]*=\(.*\)'`
+ eval $flgs_var=\$flgs_val
+ ;;
+ --help=r* | -help=r*)
+@@ -137,7 +137,7 @@ while test $# != 0; do
+ *)
+ case $1 in
+ --without-*)
+- skip_app=`expr "$1" : '--without-\(.*\)'`
++ skip_app=`expr -- "$1" : '--without-\(.*\)'`
+ if test -d "lib/$skip_app"; then
+ skip_applications="$skip_applications $skip_app"
+ fi;;