1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

lang/erlang-wx: Update to version 24.1.1.

This commit is contained in:
Jimmy Olgeni 2021-10-01 19:25:24 +02:00
parent 0f8df7400e
commit 11a3069188
4 changed files with 708 additions and 723 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= erlang
DISTVERSIONPREFIX= OTP-
DISTVERSION= 24.0.6
DISTVERSION= 24.1.1
PORTREVISION= 0
PORTEPOCH= 1
CATEGORIES= lang parallel
@ -31,7 +31,30 @@ CONFIGURE_ARGS+= --enable-threads \
--without-odbc
MAKE_JOBS_UNSAFE= yes
WX_APPS= wx debugger et observer
PLIST_SUB= DEBUGGER_VERSION=${DEBUGGER_VERSION} \
ET_VERSION=${ET_VERSION} \
OBSERVER_VERSION=${OBSERVER_VERSION} \
WX_VERSION=${WX_VERSION}
DEBUGGER_VERSION= 5.2
ET_VERSION= 1.6.5
OBSERVER_VERSION= 2.10
WX_VERSION= 2.1
WX_APPS= wx debugger et observer
pre-configure:
@if [ ! $$(${CAT} ${WRKSRC}/lib/debugger/vsn.mk | ${GREP} -E "DEBUGGER_VSN *=" | ${CUT} -w -f3) = ${DEBUGGER_VERSION} ]; then \
${ECHO_MSG} "===> DEBUGGER_VERSION (${DEBUGGER_VERSION}) in Makefile does not match value in lib/debugger/vsn.mk"; exit 1; \
fi
@if [ ! $$(${CAT} ${WRKSRC}/lib/et/vsn.mk | ${GREP} -E "ET_VSN *=" | ${CUT} -w -f3) = ${ET_VERSION} ]; then \
${ECHO_MSG} "===> ET_VERSION (${ET_VERSION}) in Makefile does not match value in lib/et/vsn.mk"; exit 1; \
fi
@if [ ! $$(${CAT} ${WRKSRC}/lib/observer/vsn.mk | ${GREP} -E "OBSERVER_VSN *=" | ${CUT} -w -f3) = ${OBSERVER_VERSION} ]; then \
${ECHO_MSG} "===> OBSERVER_VERSION (${OBSERVER_VERSION}) in Makefile does not match value in lib/observer/vsn.mk"; exit 1; \
fi
@if [ ! $$(${CAT} ${WRKSRC}/lib/wx/vsn.mk | ${GREP} -E "WX_VSN *=" | ${CUT} -w -f3) = ${WX_VERSION} ]; then \
${ECHO_MSG} "===> WX_VERSION (${WX_VERSION}) in Makefile does not match value in lib/wx/vsn.mk"; exit 1; \
fi
do-build:
.for app in wx debugger et observer

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1631555935
SHA256 (erlang/erlang-otp-OTP-24.0.6_GH0.tar.gz) = a60a7d776a4573e2018d6fad6df957e3911ecbce5f11497a8ec537f613aca0a1
SIZE (erlang/erlang-otp-OTP-24.0.6_GH0.tar.gz) = 58894872
TIMESTAMP = 1633087059
SHA256 (erlang/erlang-otp-OTP-24.1.1_GH0.tar.gz) = 96a9ffd0ce529dda8bb98eb3e607994fe9f67c1abb3fc1cca545826ad088358d
SIZE (erlang/erlang-otp-OTP-24.1.1_GH0.tar.gz) = 59041453

View File

@ -1,40 +0,0 @@
--- configure.orig 2021-09-13 14:43:59 UTC
+++ configure
@@ -55,7 +55,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
@@ -95,7 +95,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
@@ -140,8 +140,8 @@ while test $# != 0; do
pie_ldflags="-no-pie"
;;
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*)
@@ -151,7 +151,7 @@ while test $# != 0; do
*)
case $1 in
--without-*)
- skip_app=`expr "$1" : '--without-\(.*\)'`
+ skip_app=`expr -- "$1" : '--without-\(.*\)'`
if [ "$skip_app" = "stdlib" ] ||
[ "$skip_app" = "kernel" ] ||
[ "$skip_app" = "sasl" ] ||

File diff suppressed because it is too large Load Diff