diff options
| author | Dave Cottlehuber <dch@FreeBSD.org> | 2026-05-14 06:56:08 +0000 |
|---|---|---|
| committer | Dave Cottlehuber <dch@FreeBSD.org> | 2026-05-14 06:58:17 +0000 |
| commit | d1a24d49e38d5ddd2980d1335a47bd97b6e22443 (patch) | |
| tree | d1865b01a9e40ef611f3caf5082dc3aa1ca08924 | |
| parent | 625ea72bc60edccccfd8939a976219c04e021b3c (diff) | |
lang/erlang-runtime2[123456]: Remove unsupported releases
Approved by: erlang
Sponsored by: SkunkWerks, GmbH
56 files changed, 6 insertions, 1673 deletions
@@ -5298,3 +5298,9 @@ java/openjdk23||2026-05-12|Has expired: No longer supported by upstream databases/jrrd||2026-05-12|Has expired: only builds with Java 8, unmaintained, no dependencies in the ports tree, an alternative is https://github.com/OpenNMS/jrrd2 deskutils/growl-for-linux||2026-05-12|Has expired: Obsolete software that does not compile with recent versions of GCC or Clang www/py-requests-cache93|www/py-requests-cache|2026-05-13|Use latest version +lang/erlang-runtime21|lang/erlang-runtime28|2026-05-14|Has expired: no longer supported upstream, use lang/erlang >=28 +lang/erlang-runtime22|lang/erlang-runtime28|2026-05-14|Has expired: no longer supported upstream, use lang/erlang >=28 +lang/erlang-runtime23|lang/erlang-runtime28|2026-05-14|Has expired: no longer supported upstream, use lang/erlang >=28 +lang/erlang-runtime24|lang/erlang-runtime28|2026-05-14|Has expired: no longer supported upstream, use lang/erlang >=28 +lang/erlang-runtime25|lang/erlang-runtime28|2026-05-14|Has expired: no longer supported upstream, use lang/erlang >=28 +lang/erlang-runtime26|lang/erlang-runtime28|2026-05-14|Has expired: no longer supported upstream, use lang/erlang >=28 diff --git a/lang/Makefile b/lang/Makefile index e93337ba5676..67534a8a2b16 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -66,12 +66,6 @@ SUBDIR += erlang-doc SUBDIR += erlang-java SUBDIR += erlang-man - SUBDIR += erlang-runtime21 - SUBDIR += erlang-runtime22 - SUBDIR += erlang-runtime23 - SUBDIR += erlang-runtime24 - SUBDIR += erlang-runtime25 - SUBDIR += erlang-runtime26 SUBDIR += erlang-runtime27 SUBDIR += erlang-runtime28 SUBDIR += erlang-runtime29 diff --git a/lang/erlang-runtime21/Makefile b/lang/erlang-runtime21/Makefile deleted file mode 100644 index 2be3f3c219c7..000000000000 --- a/lang/erlang-runtime21/Makefile +++ /dev/null @@ -1,170 +0,0 @@ -PORTNAME= erlang -DISTVERSIONPREFIX= OTP- -DISTVERSION= 21.3.8.24 -PORTREVISION= 7 -CATEGORIES= lang parallel java -PKGNAMESUFFIX= -runtime21 -DIST_SUBDIR= erlang - -MAINTAINER= erlang@FreeBSD.org -COMMENT= Functional programming language from Ericsson -WWW= https://www.erlang.org/ - -LICENSE= APACHE20 - -USES= autoreconf:build,2.69 compiler cpe gmake ncurses perl5 -CPE_VENDOR= erlang -CPE_PRODUCT= erlang/otp -USE_GITHUB= nodefault -GH_ACCOUNT= erlang:otp,corba -GH_PROJECT= otp:otp corba:corba -GH_TAGNAME= 4.5.2:corba -USE_PERL5= build - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-smp-support - -MAKE_JOBS_UNSAFE= yes - -DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} -SUB_FILES= pkg-message -SUB_LIST= ERLANG_LIB=${ERLANG_LIB} - -WRKSRC= ${WRKSRC_otp} - -ERLANG_LIB= ${PORTNAME}${PORTVERSION:C/\..*//} - -OPTIONS_DEFINE= CORBA DIRTY DTRACE HIPE JAVA KQUEUE NATIVE ODBC OPENSSL \ - SCTP THREADS WX -OPTIONS_DEFAULT= CORBA DIRTY DTRACE HIPE KQUEUE OPENSSL SCTP THREADS - -.if !exists(/usr/sbin/dtrace) -OPTIONS_EXCLUDE+= DTRACE -.endif - -OPTIONS_EXCLUDE_DragonFly= HIPE NATIVE SCTP -# ld(1) fails to link probes: missing __dtrace_erlang___* symbols -OPTIONS_EXCLUDE_aarch64= DTRACE -OPTIONS_EXCLUDE_armv6= DTRACE -OPTIONS_EXCLUDE_armv7= DTRACE -OPTIONS_EXCLUDE_i386= DTRACE HIPE NATIVE -OPTIONS_EXCLUDE_powerpc64= HIPE -OPTIONS_EXCLUDE_powerpc64le= HIPE -OPTIONS_EXCLUDE_riscv64= DTRACE - -CORBA_DESC= Enable Corba support -DIRTY_DESC= Enable Dirty schedulers -HIPE_DESC= Build native HiPE compiler -KQUEUE_DESC= Enable Kernel Poll (kqueue) support -NATIVE_DESC= Enable native libraries -SCTP_DESC= Enable SCTP support -WX_DESC= Enable WX application - -# If you run Erlang and get a message resembling "WARNING: number of -# probes fixed does not match the number of defined probes (54 != 132, -# respectively)" you probably misconfigured DTrace in some way. - -DIRTY_CONFIGURE_ENABLE= dirty-schedulers -DTRACE_CONFIGURE_WITH= dynamic-trace=dtrace -DTRACE_CFLAGS= -fno-omit-frame-pointer -DTRACE_VARS= STRIP="" -HIPE_CONFIGURE_ENABLE= hipe -JAVA_CONFIGURE_WITH= javac -JAVA_CONFIGURE_ENV= ac_cv_prog_JAVAC="${JAVAC}" -JAVA_USES= java -KQUEUE_CONFIGURE_ENABLE= kernel-poll -NATIVE_IMPLIES= HIPE -NATIVE_CONFIGURE_ENABLE= native-libs -ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC -ODBC_USES= localbase:ldflags -ODBC_CONFIGURE_WITH= odbc -OPENSSL_USES= ssl -OPENSSL_CONFIGURE_WITH= ssl=${OPENSSLBASE} -SCTP_CONFIGURE_ENABLE= sctp -THREADS_CONFIGURE_ENABLE= threads -WX_USES= gl -WX_CONFIGURE_WITH= wx-config=${WX_CONFIG} -WX_VARS= USE_GL="gl glu" \ - USE_WX=3.2+ \ - WX_COMPS="wx" - -.include <bsd.port.pre.mk> - -.if ${COMPILER_TYPE} == clang -# PR 258494 -CONFIGURE_ARGS+= --disable-pgo -.endif - -.if ${OPSYS} == FreeBSD -CFLAGS+= -DMAP_NORESERVE=0 -.endif - -.if ${ARCH} == i386 -MAKE_ARGS+= ARCH=x86 -.endif - -.if ${ARCH} == armv6 || ${ARCH} == armv7 -MAKE_ARGS+= ARCH=arm -.endif - -pre-configure: - @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./otp_build autoconf - -pre-configure-WX-off: - echo "disabled by port options" > ${WRKSRC}/lib/debugger/SKIP - echo "disabled by port options" > ${WRKSRC}/lib/et/SKIP - echo "disabled by port options" > ${WRKSRC}/lib/observer/SKIP - echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP - -post-configure-ODBC-on: - ${RM} ${WRKSRC}/lib/odbc/SKIP - -post-configure-ODBC-off: - echo "disabled by port options" > ${WRKSRC}/lib/odbc/SKIP - -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} - -post-install-DTRACE-on: - ${MKDIR} ${STAGEDIR}${DATADIR}/dtrace - ${INSTALL_DATA} ${WRKSRC}/erts/emulator/beam/*.d \ - ${WRKSRC}/lib/runtime_tools/c_src/*.d \ - ${WRKSRC}/lib/runtime_tools/examples/*.d \ - ${STAGEDIR}${DATADIR}/dtrace - -post-install-JAVA-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/jinterface-* - -post-install-ODBC-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/odbc-* - -post-install-OPENSSL-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/crypto-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssh-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssl-* - -post-install-WX-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/debugger-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/et-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/observer-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* - -post-stage: - ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty \ - -delete - @cd ${STAGEDIR}${PREFIX}; \ - ${FIND} lib/${ERLANG_LIB}/* ${DATADIR_REL}/* -type f -o \ - -type l | \ - ${SORT} >> ${TMPPLIST} - -.include <bsd.port.post.mk> diff --git a/lang/erlang-runtime21/distinfo b/lang/erlang-runtime21/distinfo deleted file mode 100644 index 9dd113c17c41..000000000000 --- a/lang/erlang-runtime21/distinfo +++ /dev/null @@ -1,5 +0,0 @@ -TIMESTAMP = 1622535377 -SHA256 (erlang/erlang-otp-OTP-21.3.8.24_GH0.tar.gz) = 90017fe0b844cf3ba7dc9faf7f6f690050f3138f3d3f7532a9343174f5f9febc -SIZE (erlang/erlang-otp-OTP-21.3.8.24_GH0.tar.gz) = 54104215 -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-runtime21/files/patch-Makefile.in b/lang/erlang-runtime21/files/patch-Makefile.in deleted file mode 100644 index 671da7a31f2c..000000000000 --- a/lang/erlang-runtime21/files/patch-Makefile.in +++ /dev/null @@ -1,20 +0,0 @@ ---- Makefile.in.orig 2015-06-23 18:56:21 UTC -+++ Makefile.in -@@ -60,7 +60,7 @@ bindir = @bindir@ - libdir = @libdir@ - - # Where Erlang/OTP is located --libdir_suffix = /erlang -+libdir_suffix = /erlang21 - erlang_libdir = $(libdir)$(libdir_suffix) - erlang_bindir = $(erlang_libdir)/bin - -@@ -1013,7 +1013,7 @@ $(TEST_DIRS): - # - # Order is important here, don't change it! - # --INST_DEP += install.dirs install.emulator install.libs install.Install install.otp_version install.bin -+INST_DEP += install.dirs install.emulator install.libs install.Install install.otp_version - - install: $(INST_DEP) - diff --git a/lang/erlang-runtime21/files/patch-erts_etc_unix_run__erl.c b/lang/erlang-runtime21/files/patch-erts_etc_unix_run__erl.c deleted file mode 100644 index b76c5127d2a8..000000000000 --- a/lang/erlang-runtime21/files/patch-erts_etc_unix_run__erl.c +++ /dev/null @@ -1,12 +0,0 @@ ---- erts/etc/unix/run_erl.c.orig 2015-03-31 12:32:52 UTC -+++ erts/etc/unix/run_erl.c -@@ -73,9 +73,6 @@ - #ifdef HAVE_UTMP_H - # include <utmp.h> - #endif --#ifdef HAVE_UTIL_H --# include <util.h> --#endif - #ifdef HAVE_SYS_IOCTL_H - # include <sys/ioctl.h> - #endif diff --git a/lang/erlang-runtime21/files/patch-lib_crypto_c__src_Makefile.in b/lang/erlang-runtime21/files/patch-lib_crypto_c__src_Makefile.in deleted file mode 100644 index 65e1b759ad66..000000000000 --- a/lang/erlang-runtime21/files/patch-lib_crypto_c__src_Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/crypto/c_src/Makefile.in.orig 2016-03-14 20:11:15 UTC -+++ lib/crypto/c_src/Makefile.in -@@ -90,7 +90,7 @@ endif - DYNAMIC_CRYPTO_LIB=@SSL_DYNAMIC_ONLY@ - - ifeq ($(DYNAMIC_CRYPTO_LIB),yes) --SSL_DED_LD_RUNTIME_LIBRARY_PATH = @SSL_DED_LD_RUNTIME_LIBRARY_PATH@ -+SSL_DED_LD_RUNTIME_LIBRARY_PATH = - CRYPTO_LINK_LIB=$(SSL_DED_LD_RUNTIME_LIBRARY_PATH) -L$(SSL_LIBDIR) -l$(SSL_CRYPTO_LIBNAME) - EXTRA_FLAGS = -DHAVE_DYNAMIC_CRYPTO_LIB - else diff --git a/lang/erlang-runtime21/files/patch-lib_crypto_priv_Makefile b/lang/erlang-runtime21/files/patch-lib_crypto_priv_Makefile deleted file mode 100644 index 26f2c38e360d..000000000000 --- a/lang/erlang-runtime21/files/patch-lib_crypto_priv_Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/crypto/priv/Makefile.orig 2016-03-14 20:11:15 UTC -+++ lib/crypto/priv/Makefile -@@ -61,7 +61,7 @@ OBJS = $(OBJDIR)/crypto.o - # ---------------------------------------------------- - - $(SO_NIFLIB): $(OBJS) -- $(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) -Wl,-R$(SO_SSL_LIBDIR) \ -+ $(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) \ - -o $@ $^ -lcrypto - - $(DLL_NIFLIB): $(OBJS) diff --git a/lang/erlang-runtime21/files/patch-lib_hipe_llvm_hipe__llvm__main.erl b/lang/erlang-runtime21/files/patch-lib_hipe_llvm_hipe__llvm__main.erl deleted file mode 100644 index 633d84504d99..000000000000 --- a/lang/erlang-runtime21/files/patch-lib_hipe_llvm_hipe__llvm__main.erl +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/hipe/llvm/hipe_llvm_main.erl.orig 2015-06-27 20:52:09 UTC -+++ lib/hipe/llvm/hipe_llvm_main.erl -@@ -474,7 +474,7 @@ unique_folder(FunName, Arity, Options) - - true -> %% Store folder in current directory - DirName; - false -> %% Temporarily store folder in tempfs (/dev/shm/) -- "/dev/shm/" ++ DirName -+ "/tmp/" ++ DirName - end, - %% Make sure it does not exist - case dir_exists(Dir) of diff --git a/lang/erlang-runtime21/files/patch-lib_stdlib_src_calendar.erl b/lang/erlang-runtime21/files/patch-lib_stdlib_src_calendar.erl deleted file mode 100644 index 34b753d85b27..000000000000 --- a/lang/erlang-runtime21/files/patch-lib_stdlib_src_calendar.erl +++ /dev/null @@ -1,26 +0,0 @@ ---- lib/stdlib/src/calendar.erl.orig 2015-03-31 12:32:52 UTC -+++ lib/stdlib/src/calendar.erl -@@ -279,11 +279,19 @@ local_time_to_universal_time(DateTime, I - DateTime1 :: datetime1970(), - DateTime :: datetime1970(). - local_time_to_universal_time_dst(DateTime) -> -- UtDst = erlang:localtime_to_universaltime(DateTime, true), -- Ut = erlang:localtime_to_universaltime(DateTime, false), - %% Reverse check the universal times -- LtDst = erlang:universaltime_to_localtime(UtDst), -- Lt = erlang:universaltime_to_localtime(Ut), -+ {UtDst, LtDst} = -+ try -+ UtDst0 = erlang:localtime_to_universaltime(DateTime, true), -+ {UtDst0, erlang:universaltime_to_localtime(UtDst0)} -+ catch error:badarg -> {error, error} -+ end, -+ {Ut, Lt} = -+ try -+ Ut0 = erlang:localtime_to_universaltime(DateTime, false), -+ {Ut0, erlang:universaltime_to_localtime(Ut0)} -+ catch error:badarg -> {error, error} -+ end, - %% Return the valid universal times - case {LtDst,Lt} of - {DateTime,DateTime} when UtDst =/= Ut -> diff --git a/lang/erlang-runtime21/files/pkg-message.in b/lang/erlang-runtime21/files/pkg-message.in deleted file mode 100644 index 3564b8665b2a..000000000000 --- a/lang/erlang-runtime21/files/pkg-message.in +++ /dev/null @@ -1,8 +0,0 @@ -[ -{ type: install - message: <<EOM -To use this runtime port for development or testing, just prepend -its binary path ("%%LOCALBASE%%/lib/%%ERLANG_LIB%%/bin") to your PATH variable. -EOM -} -] diff --git a/lang/erlang-runtime21/pkg-descr b/lang/erlang-runtime21/pkg-descr deleted file mode 100644 index 37bddf81050b..000000000000 --- a/lang/erlang-runtime21/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -Erlang is a programming language used to build massively scalable soft -real-time systems with requirements on high availability. Some of its -uses are in telecoms, banking, e-commerce, computer telephony and -instant messaging. Erlang's runtime system has built-in support for -concurrency, distribution and fault tolerance. - -This port contains a standalone runtime environment of Erlang 21 -to be used during the development of OTP applications. diff --git a/lang/erlang-runtime22/Makefile b/lang/erlang-runtime22/Makefile deleted file mode 100644 index f399a0cc7498..000000000000 --- a/lang/erlang-runtime22/Makefile +++ /dev/null @@ -1,174 +0,0 @@ -PORTNAME= erlang -DISTVERSIONPREFIX= OTP- -DISTVERSION= 22.3.4.27 -PORTREVISION= 3 -CATEGORIES= lang parallel java -PKGNAMESUFFIX= -runtime22 -DIST_SUBDIR= erlang - -MAINTAINER= erlang@FreeBSD.org -COMMENT= Functional programming language from Ericsson -WWW= https://www.erlang.org/ - -LICENSE= APACHE20 - -USES= autoreconf:build compiler cpe gmake ncurses perl5 -USE_GITHUB= nodefault -GH_ACCOUNT= erlang:otp,corba -GH_PROJECT= otp:otp corba:corba -GH_TAGNAME= 4.5.2:corba -USE_PERL5= build - -CPE_VENDOR= erlang -CPE_PRODUCT= erlang/otp - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-smp-support - -MAKE_JOBS_UNSAFE= yes - -DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} -SUB_FILES= pkg-message -SUB_LIST= ERLANG_LIB=${ERLANG_LIB} - -WRKSRC= ${WRKSRC_otp} - -ERLANG_LIB= ${PORTNAME}${PORTVERSION:C/\..*//} - -OPTIONS_DEFINE= CORBA DIRTY DTRACE HIPE JAVA KQUEUE NATIVE ODBC OPENSSL \ - SCTP THREADS WX -OPTIONS_DEFAULT= CORBA DIRTY DTRACE KQUEUE OPENSSL SCTP THREADS - -.if !exists(/usr/sbin/dtrace) -OPTIONS_EXCLUDE+= DTRACE -.endif - -OPTIONS_EXCLUDE_DragonFly= HIPE NATIVE SCTP -# ld(1) fails to link probes: missing __dtrace_erlang___* symbols -OPTIONS_EXCLUDE_aarch64= DTRACE -OPTIONS_EXCLUDE_armv6= DTRACE -OPTIONS_EXCLUDE_armv7= DTRACE -OPTIONS_EXCLUDE_i386= DTRACE HIPE NATIVE -OPTIONS_EXCLUDE_riscv64= DTRACE - -CORBA_DESC= Enable Corba support -DIRTY_DESC= Enable Dirty schedulers -HIPE_DESC= Build native HiPE compiler -KQUEUE_DESC= Enable Kernel Poll (kqueue) support -NATIVE_DESC= Enable native libraries -SCTP_DESC= Enable SCTP support -WX_DESC= Enable WX application - -# If you run Erlang and get a message resembling "WARNING: number of -# probes fixed does not match the number of defined probes (54 != 132, -# respectively)" you probably misconfigured DTrace in some way. - -DIRTY_CONFIGURE_ENABLE= dirty-schedulers -DTRACE_CONFIGURE_WITH= dynamic-trace=dtrace -DTRACE_CFLAGS= -fno-omit-frame-pointer -DTRACE_VARS= STRIP="" -HIPE_CONFIGURE_ENABLE= hipe -JAVA_CONFIGURE_WITH= javac -JAVA_CONFIGURE_ENV= ac_cv_prog_JAVAC="${JAVAC}" -JAVA_USES= java -KQUEUE_CONFIGURE_ENABLE= kernel-poll -NATIVE_IMPLIES= HIPE -NATIVE_CONFIGURE_ENABLE= native-libs -ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC -ODBC_USES= localbase:ldflags -ODBC_CONFIGURE_WITH= odbc -OPENSSL_USES= ssl -OPENSSL_CONFIGURE_WITH= ssl=${OPENSSLBASE} -SCTP_CONFIGURE_ENABLE= sctp -THREADS_CONFIGURE_ENABLE= threads -WX_USES= gl -WX_CONFIGURE_WITH= wx-config=${WX_CONFIG} -WX_VARS= USE_GL="gl glu" \ - USE_WX=3.2+ \ - WX_COMPS="wx" - -.include <bsd.port.pre.mk> - -.if ${COMPILER_TYPE} == clang -# PR 258494 -CONFIGURE_ARGS+= --disable-pgo -.endif - -.if ${OPSYS} == FreeBSD -CFLAGS+= -DMAP_NORESERVE=0 -.endif - -.if ${ARCH} == i386 -MAKE_ARGS+= ARCH=x86 -.endif - -.if ${ARCH} == armv6 || ${ARCH} == armv7 -MAKE_ARGS+= ARCH=arm -.endif - -.if ( ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*} -CFLAGS+= -Wno-error=implicit-function-declaration -OPTIONS_EXCLUDE= OPENSSL -.endif - -pre-configure: - @cd ${WRKSRC} && ./otp_build autoconf - -pre-configure-WX-off: - echo "disabled by port options" > ${WRKSRC}/lib/debugger/SKIP - echo "disabled by port options" > ${WRKSRC}/lib/et/SKIP - echo "disabled by port options" > ${WRKSRC}/lib/observer/SKIP - echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP - -post-configure-ODBC-on: - ${RM} ${WRKSRC}/lib/odbc/SKIP - -post-configure-ODBC-off: - echo "disabled by port options" > ${WRKSRC}/lib/odbc/SKIP - -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} - -post-install-DTRACE-on: - ${MKDIR} ${STAGEDIR}${DATADIR}/dtrace - ${INSTALL_DATA} ${WRKSRC}/erts/emulator/beam/*.d \ - ${WRKSRC}/lib/runtime_tools/c_src/*.d \ - ${WRKSRC}/lib/runtime_tools/examples/*.d \ - ${STAGEDIR}${DATADIR}/dtrace - -post-install-JAVA-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/jinterface-* - -post-install-ODBC-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/odbc-* - -post-install-OPENSSL-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/crypto-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssh-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssl-* - -post-install-WX-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/debugger-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/et-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/observer-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* - -post-stage: - ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty \ - -delete - @cd ${STAGEDIR}${PREFIX}; \ - ${FIND} lib/${ERLANG_LIB}/* ${DATADIR_REL}/* -type f -o \ - -type l | \ - ${SORT} >> ${TMPPLIST} - -.include <bsd.port.post.mk> diff --git a/lang/erlang-runtime22/distinfo b/lang/erlang-runtime22/distinfo deleted file mode 100644 index b962dc196cfc..000000000000 --- a/lang/erlang-runtime22/distinfo +++ /dev/null @@ -1,5 +0,0 @@ -TIMESTAMP = 1710781103 -SHA256 (erlang/erlang-otp-OTP-22.3.4.27_GH0.tar.gz) = 0fb5dc388a4d6f1c7c0e250b5a44466727f35794b0566cad4190cd7c68ca5062 -SIZE (erlang/erlang-otp-OTP-22.3.4.27_GH0.tar.gz) = 56538819 -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-Makefile.in b/lang/erlang-runtime22/files/patch-Makefile.in deleted file mode 100644 index 6ac5d2960e1c..000000000000 --- a/lang/erlang-runtime22/files/patch-Makefile.in +++ /dev/null @@ -1,20 +0,0 @@ ---- Makefile.in.orig 2015-06-23 18:56:21 UTC -+++ Makefile.in -@@ -60,7 +60,7 @@ bindir = @bindir@ - libdir = @libdir@ - - # Where Erlang/OTP is located --libdir_suffix = /erlang -+libdir_suffix = /erlang22 - erlang_libdir = $(libdir)$(libdir_suffix) - erlang_bindir = $(erlang_libdir)/bin - -@@ -1013,7 +1013,7 @@ $(TEST_DIRS): - # - # Order is important here, don't change it! - # --INST_DEP += install.dirs install.emulator install.libs install.Install install.otp_version install.bin -+INST_DEP += install.dirs install.emulator install.libs install.Install install.otp_version - - install: $(INST_DEP) - diff --git a/lang/erlang-runtime22/files/patch-configure.src b/lang/erlang-runtime22/files/patch-configure.src deleted file mode 100644 index ebfd666e4558..000000000000 --- a/lang/erlang-runtime22/files/patch-configure.src +++ /dev/null @@ -1,40 +0,0 @@ ---- 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;; diff --git a/lang/erlang-runtime22/files/patch-erts_etc_unix_run__erl.c b/lang/erlang-runtime22/files/patch-erts_etc_unix_run__erl.c deleted file mode 100644 index b76c5127d2a8..000000000000 --- a/lang/erlang-runtime22/files/patch-erts_etc_unix_run__erl.c +++ /dev/null @@ -1,12 +0,0 @@ ---- erts/etc/unix/run_erl.c.orig 2015-03-31 12:32:52 UTC -+++ erts/etc/unix/run_erl.c -@@ -73,9 +73,6 @@ - #ifdef HAVE_UTMP_H - # include <utmp.h> - #endif --#ifdef HAVE_UTIL_H --# include <util.h> --#endif - #ifdef HAVE_SYS_IOCTL_H - # include <sys/ioctl.h> - #endif diff --git a/lang/erlang-runtime22/files/patch-lib_crypto_c__src_Makefile.in b/lang/erlang-runtime22/files/patch-lib_crypto_c__src_Makefile.in deleted file mode 100644 index 65e1b759ad66..000000000000 --- a/lang/erlang-runtime22/files/patch-lib_crypto_c__src_Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/crypto/c_src/Makefile.in.orig 2016-03-14 20:11:15 UTC -+++ lib/crypto/c_src/Makefile.in -@@ -90,7 +90,7 @@ endif - DYNAMIC_CRYPTO_LIB=@SSL_DYNAMIC_ONLY@ - - ifeq ($(DYNAMIC_CRYPTO_LIB),yes) --SSL_DED_LD_RUNTIME_LIBRARY_PATH = @SSL_DED_LD_RUNTIME_LIBRARY_PATH@ -+SSL_DED_LD_RUNTIME_LIBRARY_PATH = - CRYPTO_LINK_LIB=$(SSL_DED_LD_RUNTIME_LIBRARY_PATH) -L$(SSL_LIBDIR) -l$(SSL_CRYPTO_LIBNAME) - EXTRA_FLAGS = -DHAVE_DYNAMIC_CRYPTO_LIB - else diff --git a/lang/erlang-runtime22/files/patch-lib_crypto_priv_Makefile b/lang/erlang-runtime22/files/patch-lib_crypto_priv_Makefile deleted file mode 100644 index 26f2c38e360d..000000000000 --- a/lang/erlang-runtime22/files/patch-lib_crypto_priv_Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/crypto/priv/Makefile.orig 2016-03-14 20:11:15 UTC -+++ lib/crypto/priv/Makefile -@@ -61,7 +61,7 @@ OBJS = $(OBJDIR)/crypto.o - # ---------------------------------------------------- - - $(SO_NIFLIB): $(OBJS) -- $(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) -Wl,-R$(SO_SSL_LIBDIR) \ -+ $(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) \ - -o $@ $^ -lcrypto - - $(DLL_NIFLIB): $(OBJS) diff --git a/lang/erlang-runtime22/files/patch-lib_stdlib_src_calendar.erl b/lang/erlang-runtime22/files/patch-lib_stdlib_src_calendar.erl deleted file mode 100644 index 34b753d85b27..000000000000 --- a/lang/erlang-runtime22/files/patch-lib_stdlib_src_calendar.erl +++ /dev/null @@ -1,26 +0,0 @@ ---- lib/stdlib/src/calendar.erl.orig 2015-03-31 12:32:52 UTC -+++ lib/stdlib/src/calendar.erl -@@ -279,11 +279,19 @@ local_time_to_universal_time(DateTime, I - DateTime1 :: datetime1970(), - DateTime :: datetime1970(). - local_time_to_universal_time_dst(DateTime) -> -- UtDst = erlang:localtime_to_universaltime(DateTime, true), -- Ut = erlang:localtime_to_universaltime(DateTime, false), - %% Reverse check the universal times -- LtDst = erlang:universaltime_to_localtime(UtDst), -- Lt = erlang:universaltime_to_localtime(Ut), -+ {UtDst, LtDst} = -+ try -+ UtDst0 = erlang:localtime_to_universaltime(DateTime, true), -+ {UtDst0, erlang:universaltime_to_localtime(UtDst0)} -+ catch error:badarg -> {error, error} -+ end, -+ {Ut, Lt} = -+ try -+ Ut0 = erlang:localtime_to_universaltime(DateTime, false), -+ {Ut0, erlang:universaltime_to_localtime(Ut0)} -+ catch error:badarg -> {error, error} -+ end, - %% Return the valid universal times - case {LtDst,Lt} of - {DateTime,DateTime} when UtDst =/= Ut -> diff --git a/lang/erlang-runtime22/files/pkg-message.in b/lang/erlang-runtime22/files/pkg-message.in deleted file mode 100644 index 3564b8665b2a..000000000000 --- a/lang/erlang-runtime22/files/pkg-message.in +++ /dev/null @@ -1,8 +0,0 @@ -[ -{ type: install - message: <<EOM -To use this runtime port for development or testing, just prepend -its binary path ("%%LOCALBASE%%/lib/%%ERLANG_LIB%%/bin") to your PATH variable. -EOM -} -] diff --git a/lang/erlang-runtime22/pkg-descr b/lang/erlang-runtime22/pkg-descr deleted file mode 100644 index 11d0bec589fb..000000000000 --- a/lang/erlang-runtime22/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -Erlang is a programming language used to build massively scalable soft -real-time systems with requirements on high availability. Some of its -uses are in telecoms, banking, e-commerce, computer telephony and -instant messaging. Erlang's runtime system has built-in support for -concurrency, distribution and fault tolerance. - -This port contains a standalone runtime environment of Erlang 22 -to be used during the development of OTP applications. diff --git a/lang/erlang-runtime23/Makefile b/lang/erlang-runtime23/Makefile deleted file mode 100644 index 5a480bc085e2..000000000000 --- a/lang/erlang-runtime23/Makefile +++ /dev/null @@ -1,173 +0,0 @@ -PORTNAME= erlang -DISTVERSIONPREFIX= OTP- -DISTVERSION= 23.3.4.20 -PORTREVISION= 5 -CATEGORIES= lang parallel java -PKGNAMESUFFIX= -runtime23 -DIST_SUBDIR= erlang - -MAINTAINER= erlang@FreeBSD.org -COMMENT= Functional programming language from Ericsson -WWW= https://www.erlang.org/ - -LICENSE= APACHE20 - -USES= autoreconf:build compiler cpe gmake ncurses perl5 -CPE_VENDOR= erlang -CPE_PRODUCT= erlang/otp -USE_GITHUB= nodefault -GH_ACCOUNT= erlang:otp,corba -GH_PROJECT= otp:otp corba:corba -GH_TAGNAME= 5.2.1:corba -USE_PERL5= build - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-smp-support - -MAKE_JOBS_UNSAFE= yes - -DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} -SUB_FILES= pkg-message -SUB_LIST= ERLANG_LIB=${ERLANG_LIB} - -WRKSRC= ${WRKSRC_otp} - -ERLANG_LIB= ${PORTNAME}${PORTVERSION:C/\..*//} - -OPTIONS_DEFINE= CORBA DIRTY DTRACE HIPE JAVA KQUEUE NATIVE ODBC OPENSSL \ - SCTP THREADS WX -OPTIONS_DEFAULT= CORBA DIRTY DTRACE KQUEUE OPENSSL SCTP THREADS - -.if !exists(/usr/sbin/dtrace) -OPTIONS_EXCLUDE+= DTRACE -.endif - -OPTIONS_EXCLUDE_DragonFly= HIPE NATIVE SCTP -# ld(1) fails to link probes: missing __dtrace_erlang___* symbols -OPTIONS_EXCLUDE_aarch64= DTRACE -OPTIONS_EXCLUDE_armv6= DTRACE -OPTIONS_EXCLUDE_armv7= DTRACE -OPTIONS_EXCLUDE_i386= DTRACE HIPE NATIVE -OPTIONS_EXCLUDE_riscv64= DTRACE - -CORBA_DESC= Enable Corba support -DIRTY_DESC= Enable Dirty schedulers -HIPE_DESC= Build native HiPE compiler -KQUEUE_DESC= Enable Kernel Poll (kqueue) support -NATIVE_DESC= Enable native libraries -SCTP_DESC= Enable SCTP support -WX_DESC= Enable WX application - -# If you run Erlang and get a message resembling "WARNING: number of -# probes fixed does not match the number of defined probes (54 != 132, -# respectively)" you probably misconfigured DTrace in some way. - -DIRTY_CONFIGURE_ENABLE= dirty-schedulers -DTRACE_CONFIGURE_WITH= dynamic-trace=dtrace -DTRACE_CFLAGS= -fno-omit-frame-pointer -DTRACE_VARS= STRIP="" -HIPE_CONFIGURE_ENABLE= hipe -JAVA_CONFIGURE_WITH= javac -JAVA_CONFIGURE_ENV= ac_cv_prog_JAVAC="${JAVAC}" -JAVA_USES= java -KQUEUE_CONFIGURE_ENABLE= kernel-poll -NATIVE_IMPLIES= HIPE -NATIVE_CONFIGURE_ENABLE= native-libs -ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC -ODBC_USES= localbase:ldflags -ODBC_CONFIGURE_WITH= odbc -OPENSSL_USES= ssl -OPENSSL_CONFIGURE_WITH= ssl=${OPENSSLBASE} -SCTP_CONFIGURE_ENABLE= sctp -THREADS_CONFIGURE_ENABLE= threads -WX_USES= gl -WX_CONFIGURE_WITH= wx-config=${WX_CONFIG} -WX_VARS= USE_GL="gl glu" \ - USE_WX=3.2+ \ - WX_COMPS="wx" - -.include <bsd.port.pre.mk> - -.if ${COMPILER_TYPE} == clang -# PR 258494 -CONFIGURE_ARGS+= --disable-pgo -.endif - -.if ${OPSYS} == FreeBSD -CFLAGS+= -DMAP_NORESERVE=0 -.endif - -.if ${ARCH} == i386 -MAKE_ARGS+= ARCH=x86 -.endif - -.if ${ARCH} == armv6 || ${ARCH} == armv7 -MAKE_ARGS+= ARCH=arm -.endif - -.if ( ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*} -CFLAGS+= -Wno-error=implicit-function-declaration -OPTIONS_EXCLUDE= OPENSSL -.endif - -pre-configure: - @cd ${WRKSRC} && ./otp_build autoconf - -pre-configure-WX-off: - echo "disabled by port options" > ${WRKSRC}/lib/debugger/SKIP - echo "disabled by port options" > ${WRKSRC}/lib/et/SKIP - echo "disabled by port options" > ${WRKSRC}/lib/observer/SKIP - echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP - -post-configure-ODBC-on: - ${RM} ${WRKSRC}/lib/odbc/SKIP - -post-configure-ODBC-off: - echo "disabled by port options" > ${WRKSRC}/lib/odbc/SKIP - -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} - -post-install-DTRACE-on: - ${MKDIR} ${STAGEDIR}${DATADIR}/dtrace - ${INSTALL_DATA} ${WRKSRC}/erts/emulator/beam/*.d \ - ${WRKSRC}/lib/runtime_tools/c_src/*.d \ - ${WRKSRC}/lib/runtime_tools/examples/*.d \ - ${STAGEDIR}${DATADIR}/dtrace - -post-install-JAVA-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/jinterface-* - -post-install-ODBC-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/odbc-* - -post-install-OPENSSL-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/crypto-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssh-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssl-* - -post-install-WX-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/debugger-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/et-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/observer-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* - -post-stage: - ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty \ - -delete - @cd ${STAGEDIR}${PREFIX}; \ - ${FIND} lib/${ERLANG_LIB}/* ${DATADIR_REL}/* -type f -o \ - -type l | \ - ${SORT} >> ${TMPPLIST} - -.include <bsd.port.post.mk> diff --git a/lang/erlang-runtime23/distinfo b/lang/erlang-runtime23/distinfo deleted file mode 100644 index 2e1b5f768285..000000000000 --- a/lang/erlang-runtime23/distinfo +++ /dev/null @@ -1,5 +0,0 @@ -TIMESTAMP = 1716883013 -SHA256 (erlang/erlang-otp-OTP-23.3.4.20_GH0.tar.gz) = 887859a686f3278e2a60435713ade724f97e6222cb7693a5f37c6a894ac42f8e -SIZE (erlang/erlang-otp-OTP-23.3.4.20_GH0.tar.gz) = 57533687 -SHA256 (erlang/erlang-corba-5.2.1_GH0.tar.gz) = e96e9dc710c0ab3282ca5045434f5bc5ff493c22ba63fcfd764ce4d6a13a7c8f -SIZE (erlang/erlang-corba-5.2.1_GH0.tar.gz) = 1400553 diff --git a/lang/erlang-runtime23/files/patch-Makefile.in b/lang/erlang-runtime23/files/patch-Makefile.in deleted file mode 100644 index 063f360f935d..000000000000 --- a/lang/erlang-runtime23/files/patch-Makefile.in +++ /dev/null @@ -1,20 +0,0 @@ ---- Makefile.in.orig 2015-06-23 18:56:21 UTC -+++ Makefile.in -@@ -60,7 +60,7 @@ bindir = @bindir@ - libdir = @libdir@ - - # Where Erlang/OTP is located --libdir_suffix = /erlang -+libdir_suffix = /erlang23 - erlang_libdir = $(libdir)$(libdir_suffix) - erlang_bindir = $(erlang_libdir)/bin - -@@ -1013,7 +1013,7 @@ $(TEST_DIRS): - # - # Order is important here, don't change it! - # --INST_DEP += install.dirs install.emulator install.libs install.Install install.otp_version install.bin -+INST_DEP += install.dirs install.emulator install.libs install.Install install.otp_version - - install: $(INST_DEP) - diff --git a/lang/erlang-runtime23/files/patch-configure.src b/lang/erlang-runtime23/files/patch-configure.src deleted file mode 100644 index ebfd666e4558..000000000000 --- a/lang/erlang-runtime23/files/patch-configure.src +++ /dev/null @@ -1,40 +0,0 @@ ---- 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;; diff --git a/lang/erlang-runtime23/files/patch-erts_etc_unix_run__erl.c b/lang/erlang-runtime23/files/patch-erts_etc_unix_run__erl.c deleted file mode 100644 index b76c5127d2a8..000000000000 --- a/lang/erlang-runtime23/files/patch-erts_etc_unix_run__erl.c +++ /dev/null @@ -1,12 +0,0 @@ ---- erts/etc/unix/run_erl.c.orig 2015-03-31 12:32:52 UTC -+++ erts/etc/unix/run_erl.c -@@ -73,9 +73,6 @@ - #ifdef HAVE_UTMP_H - # include <utmp.h> - #endif --#ifdef HAVE_UTIL_H --# include <util.h> --#endif - #ifdef HAVE_SYS_IOCTL_H - # include <sys/ioctl.h> - #endif diff --git a/lang/erlang-runtime23/files/patch-lib_crypto_c__src_Makefile.in b/lang/erlang-runtime23/files/patch-lib_crypto_c__src_Makefile.in deleted file mode 100644 index 65e1b759ad66..000000000000 --- a/lang/erlang-runtime23/files/patch-lib_crypto_c__src_Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/crypto/c_src/Makefile.in.orig 2016-03-14 20:11:15 UTC -+++ lib/crypto/c_src/Makefile.in -@@ -90,7 +90,7 @@ endif - DYNAMIC_CRYPTO_LIB=@SSL_DYNAMIC_ONLY@ - - ifeq ($(DYNAMIC_CRYPTO_LIB),yes) --SSL_DED_LD_RUNTIME_LIBRARY_PATH = @SSL_DED_LD_RUNTIME_LIBRARY_PATH@ -+SSL_DED_LD_RUNTIME_LIBRARY_PATH = - CRYPTO_LINK_LIB=$(SSL_DED_LD_RUNTIME_LIBRARY_PATH) -L$(SSL_LIBDIR) -l$(SSL_CRYPTO_LIBNAME) - EXTRA_FLAGS = -DHAVE_DYNAMIC_CRYPTO_LIB - else diff --git a/lang/erlang-runtime23/files/patch-lib_crypto_priv_Makefile b/lang/erlang-runtime23/files/patch-lib_crypto_priv_Makefile deleted file mode 100644 index 26f2c38e360d..000000000000 --- a/lang/erlang-runtime23/files/patch-lib_crypto_priv_Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/crypto/priv/Makefile.orig 2016-03-14 20:11:15 UTC -+++ lib/crypto/priv/Makefile -@@ -61,7 +61,7 @@ OBJS = $(OBJDIR)/crypto.o - # ---------------------------------------------------- - - $(SO_NIFLIB): $(OBJS) -- $(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) -Wl,-R$(SO_SSL_LIBDIR) \ -+ $(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) \ - -o $@ $^ -lcrypto - - $(DLL_NIFLIB): $(OBJS) diff --git a/lang/erlang-runtime23/files/patch-lib_stdlib_src_calendar.erl b/lang/erlang-runtime23/files/patch-lib_stdlib_src_calendar.erl deleted file mode 100644 index 34b753d85b27..000000000000 --- a/lang/erlang-runtime23/files/patch-lib_stdlib_src_calendar.erl +++ /dev/null @@ -1,26 +0,0 @@ ---- lib/stdlib/src/calendar.erl.orig 2015-03-31 12:32:52 UTC -+++ lib/stdlib/src/calendar.erl -@@ -279,11 +279,19 @@ local_time_to_universal_time(DateTime, I - DateTime1 :: datetime1970(), - DateTime :: datetime1970(). - local_time_to_universal_time_dst(DateTime) -> -- UtDst = erlang:localtime_to_universaltime(DateTime, true), -- Ut = erlang:localtime_to_universaltime(DateTime, false), - %% Reverse check the universal times -- LtDst = erlang:universaltime_to_localtime(UtDst), -- Lt = erlang:universaltime_to_localtime(Ut), -+ {UtDst, LtDst} = -+ try -+ UtDst0 = erlang:localtime_to_universaltime(DateTime, true), -+ {UtDst0, erlang:universaltime_to_localtime(UtDst0)} -+ catch error:badarg -> {error, error} -+ end, -+ {Ut, Lt} = -+ try -+ Ut0 = erlang:localtime_to_universaltime(DateTime, false), -+ {Ut0, erlang:universaltime_to_localtime(Ut0)} -+ catch error:badarg -> {error, error} -+ end, - %% Return the valid universal times - case {LtDst,Lt} of - {DateTime,DateTime} when UtDst =/= Ut -> diff --git a/lang/erlang-runtime23/files/pkg-message.in b/lang/erlang-runtime23/files/pkg-message.in deleted file mode 100644 index 3564b8665b2a..000000000000 --- a/lang/erlang-runtime23/files/pkg-message.in +++ /dev/null @@ -1,8 +0,0 @@ -[ -{ type: install - message: <<EOM -To use this runtime port for development or testing, just prepend -its binary path ("%%LOCALBASE%%/lib/%%ERLANG_LIB%%/bin") to your PATH variable. -EOM -} -] diff --git a/lang/erlang-runtime23/pkg-descr b/lang/erlang-runtime23/pkg-descr deleted file mode 100644 index 7749e3592863..000000000000 --- a/lang/erlang-runtime23/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -Erlang is a programming language used to build massively scalable soft -real-time systems with requirements on high availability. Some of its -uses are in telecoms, banking, e-commerce, computer telephony and -instant messaging. Erlang's runtime system has built-in support for -concurrency, distribution and fault tolerance. - -This port contains a standalone runtime environment of Erlang 23 -to be used during the development of OTP applications. diff --git a/lang/erlang-runtime24/Makefile b/lang/erlang-runtime24/Makefile deleted file mode 100644 index 750462d6f68c..000000000000 --- a/lang/erlang-runtime24/Makefile +++ /dev/null @@ -1,161 +0,0 @@ -PORTNAME= erlang -DISTVERSIONPREFIX= OTP- -DISTVERSION= 24.3.4.17 -PORTREVISION= 5 -CATEGORIES= lang parallel java -PKGNAMESUFFIX= -runtime24 -DIST_SUBDIR= erlang - -MAINTAINER= erlang@FreeBSD.org -COMMENT= Functional programming language from Ericsson -WWW= https://www.erlang.org/ - -LICENSE= APACHE20 - -USES= compiler cpe gmake ncurses perl5 -CPE_VENDOR= erlang -CPE_PRODUCT= erlang/otp -USE_GITHUB= nodefault -GH_ACCOUNT= erlang:otp,corba -GH_PROJECT= otp:otp corba:corba -GH_TAGNAME= 5.2.1:corba -USE_PERL5= build - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-dirty-schedulers \ - --enable-kernel-poll \ - --enable-smp-support \ - --enable-threads -MAKE_ARGS= all - -DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} -SUB_FILES= pkg-message -SUB_LIST= ERLANG_LIB=${ERLANG_LIB} - -WRKSRC= ${WRKSRC_otp} - -ERLANG_LIB= ${PORTNAME}${PORTVERSION:C/\..*//} - -OPTIONS_DEFINE= CHUNKS CORBA DTRACE JAVA KQUEUE ODBC OPENSSL SCTP \ - SHARING WX -OPTIONS_DEFAULT= CHUNKS CORBA DTRACE KQUEUE OPENSSL SCTP SHARING - -.if !exists(/usr/sbin/dtrace) -OPTIONS_EXCLUDE+= DTRACE -.endif - -OPTIONS_EXCLUDE_DragonFly= SCTP -# ld(1) fails to link probes: missing __dtrace_erlang___* symbols -# see also https://reviews.freebsd.org/D22360 -OPTIONS_EXCLUDE_aarch64= DTRACE -OPTIONS_EXCLUDE_armv6= DTRACE -OPTIONS_EXCLUDE_armv7= DTRACE -OPTIONS_EXCLUDE_i386= DTRACE -OPTIONS_EXCLUDE_riscv64= DTRACE - -CHUNKS_DESC= Enable in-line documentation in Erlang console -CORBA_DESC= Enable Corba support -KQUEUE_DESC= Enable Kernel Poll (kqueue) support -SCTP_DESC= Enable SCTP support -SHARING_DESC= Enable term copy-and-share support -WX_DESC= Enable WX application - -# If you run Erlang and get a message resembling "WARNING: number of -# probes fixed does not match the number of defined probes (54 != 132, -# respectively)" you probably misconfigured DTrace in some way. - -CHUNKS_MAKE_ARGS+= docs DOC_TARGETS=chunks -DTRACE_CONFIGURE_WITH= dynamic-trace=dtrace -DTRACE_CFLAGS= -fno-omit-frame-pointer -DTRACE_VARS= STRIP="" -JAVA_CONFIGURE_WITH= javac -JAVA_CONFIGURE_ENV= ac_cv_prog_JAVAC="${JAVAC}" -JAVA_USES= java -KQUEUE_CONFIGURE_ENABLE= kernel-poll -ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC -ODBC_USES= localbase:ldflags -ODBC_CONFIGURE_WITH= odbc -OPENSSL_USES= ssl -OPENSSL_CONFIGURE_WITH= ssl=${OPENSSLBASE} -SCTP_CONFIGURE_ENABLE= sctp -SHARING_CONFIGURE_ENABLE= sharing-preserving -WX_USES= gl -WX_CONFIGURE_WITH= wx-config=${WX_CONFIG} -WX_VARS= USE_GL="gl glu" \ - USE_WX=3.2+ \ - WX_COMPS="wx" - -.include <bsd.port.pre.mk> - -.if ${COMPILER_TYPE} == clang -# PR 258494 -CONFIGURE_ARGS+= --disable-pgo -.endif - -.if ${OPSYS} == FreeBSD -CFLAGS+= -DMAP_NORESERVE=0 -.endif - -.if ${ARCH} == i386 -MAKE_ARGS+= ARCH=x86 -.endif - -.if ${ARCH} == armv6 || ${ARCH} == armv7 -MAKE_ARGS+= ARCH=arm -.endif - -pre-configure-WX-off: - echo "disabled by port options" > ${WRKSRC}/lib/debugger/SKIP - echo "disabled by port options" > ${WRKSRC}/lib/et/SKIP - echo "disabled by port options" > ${WRKSRC}/lib/observer/SKIP - echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP - -post-configure-ODBC-on: - ${RM} ${WRKSRC}/lib/odbc/SKIP - -post-configure-ODBC-off: - echo "disabled by port options" > ${WRKSRC}/lib/odbc/SKIP - -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-DTRACE-on: - ${MKDIR} ${STAGEDIR}${DATADIR}/dtrace - ${INSTALL_DATA} ${WRKSRC}/erts/emulator/beam/*.d \ - ${WRKSRC}/lib/runtime_tools/c_src/*.d \ - ${WRKSRC}/lib/runtime_tools/examples/*.d \ - ${STAGEDIR}${DATADIR}/dtrace - -post-install-JAVA-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/jinterface-* - -post-install-ODBC-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/odbc-* - -post-install-OPENSSL-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/crypto-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssh-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssl-* - -post-install-WX-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/debugger-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/et-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/observer-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* - -post-stage: - ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty \ - -delete - @cd ${STAGEDIR}${PREFIX}; \ - ${FIND} lib/${ERLANG_LIB}/* ${DATADIR_REL}/* -type f -o \ - -type l | \ - ${SORT} >> ${TMPPLIST} - -.include <bsd.port.post.mk> diff --git a/lang/erlang-runtime24/distinfo b/lang/erlang-runtime24/distinfo deleted file mode 100644 index 85c44c4fc965..000000000000 --- a/lang/erlang-runtime24/distinfo +++ /dev/null @@ -1,5 +0,0 @@ -TIMESTAMP = 1716884945 -SHA256 (erlang/erlang-otp-OTP-24.3.4.17_GH0.tar.gz) = 35f88a3af4d4885c5c17bcb8611da2d19f0626faa277392cd39c445254c015a2 -SIZE (erlang/erlang-otp-OTP-24.3.4.17_GH0.tar.gz) = 60419581 -SHA256 (erlang/erlang-corba-5.2.1_GH0.tar.gz) = e96e9dc710c0ab3282ca5045434f5bc5ff493c22ba63fcfd764ce4d6a13a7c8f -SIZE (erlang/erlang-corba-5.2.1_GH0.tar.gz) = 1400553 diff --git a/lang/erlang-runtime24/files/patch-Makefile.in b/lang/erlang-runtime24/files/patch-Makefile.in deleted file mode 100644 index 699a2ea5767e..000000000000 --- a/lang/erlang-runtime24/files/patch-Makefile.in +++ /dev/null @@ -1,20 +0,0 @@ ---- Makefile.in.orig 2015-06-23 18:56:21 UTC -+++ Makefile.in -@@ -60,7 +60,7 @@ bindir = @bindir@ - libdir = @libdir@ - - # Where Erlang/OTP is located --libdir_suffix = /erlang -+libdir_suffix = /erlang24 - erlang_libdir = $(libdir)$(libdir_suffix) - erlang_bindir = $(erlang_libdir)/bin - -@@ -1013,7 +1013,7 @@ $(TEST_DIRS): - # - # Order is important here, don't change it! - # --INST_DEP += install.dirs install.emulator install.libs install.Install install.otp_version install.bin -+INST_DEP += install.dirs install.emulator install.libs install.Install install.otp_version - - install: $(INST_DEP) - diff --git a/lang/erlang-runtime24/files/patch-erts_etc_unix_run__erl.c b/lang/erlang-runtime24/files/patch-erts_etc_unix_run__erl.c deleted file mode 100644 index b76c5127d2a8..000000000000 --- a/lang/erlang-runtime24/files/patch-erts_etc_unix_run__erl.c +++ /dev/null @@ -1,12 +0,0 @@ ---- erts/etc/unix/run_erl.c.orig 2015-03-31 12:32:52 UTC -+++ erts/etc/unix/run_erl.c -@@ -73,9 +73,6 @@ - #ifdef HAVE_UTMP_H - # include <utmp.h> - #endif --#ifdef HAVE_UTIL_H --# include <util.h> --#endif - #ifdef HAVE_SYS_IOCTL_H - # include <sys/ioctl.h> - #endif diff --git a/lang/erlang-runtime24/files/patch-lib_crypto_c__src_Makefile.in b/lang/erlang-runtime24/files/patch-lib_crypto_c__src_Makefile.in deleted file mode 100644 index 8397bcac2200..000000000000 --- a/lang/erlang-runtime24/files/patch-lib_crypto_c__src_Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/crypto/c_src/Makefile.in.orig 2021-05-27 09:40:45 UTC -+++ lib/crypto/c_src/Makefile.in -@@ -136,7 +136,7 @@ endif - endif - - ifeq ($(DYNAMIC_OR_WIN_CRYPTO_LIB),yes) --SSL_DED_LD_RUNTIME_LIBRARY_PATH = @SSL_DED_LD_RUNTIME_LIBRARY_PATH@ -+SSL_DED_LD_RUNTIME_LIBRARY_PATH = - CRYPTO_LINK_LIB=$(SSL_DED_LD_RUNTIME_LIBRARY_PATH) -L$(SSL_LIBDIR) -l$(SSL_CRYPTO_LIBNAME) - EXTRA_FLAGS = -DHAVE_DYNAMIC_CRYPTO_LIB - else diff --git a/lang/erlang-runtime24/files/patch-lib_stdlib_src_calendar.erl b/lang/erlang-runtime24/files/patch-lib_stdlib_src_calendar.erl deleted file mode 100644 index 34b753d85b27..000000000000 --- a/lang/erlang-runtime24/files/patch-lib_stdlib_src_calendar.erl +++ /dev/null @@ -1,26 +0,0 @@ ---- lib/stdlib/src/calendar.erl.orig 2015-03-31 12:32:52 UTC -+++ lib/stdlib/src/calendar.erl -@@ -279,11 +279,19 @@ local_time_to_universal_time(DateTime, I - DateTime1 :: datetime1970(), - DateTime :: datetime1970(). - local_time_to_universal_time_dst(DateTime) -> -- UtDst = erlang:localtime_to_universaltime(DateTime, true), -- Ut = erlang:localtime_to_universaltime(DateTime, false), - %% Reverse check the universal times -- LtDst = erlang:universaltime_to_localtime(UtDst), -- Lt = erlang:universaltime_to_localtime(Ut), -+ {UtDst, LtDst} = -+ try -+ UtDst0 = erlang:localtime_to_universaltime(DateTime, true), -+ {UtDst0, erlang:universaltime_to_localtime(UtDst0)} -+ catch error:badarg -> {error, error} -+ end, -+ {Ut, Lt} = -+ try -+ Ut0 = erlang:localtime_to_universaltime(DateTime, false), -+ {Ut0, erlang:universaltime_to_localtime(Ut0)} -+ catch error:badarg -> {error, error} -+ end, - %% Return the valid universal times - case {LtDst,Lt} of - {DateTime,DateTime} when UtDst =/= Ut -> diff --git a/lang/erlang-runtime24/files/pkg-message.in b/lang/erlang-runtime24/files/pkg-message.in deleted file mode 100644 index 3564b8665b2a..000000000000 --- a/lang/erlang-runtime24/files/pkg-message.in +++ /dev/null @@ -1,8 +0,0 @@ -[ -{ type: install - message: <<EOM -To use this runtime port for development or testing, just prepend -its binary path ("%%LOCALBASE%%/lib/%%ERLANG_LIB%%/bin") to your PATH variable. -EOM -} -] diff --git a/lang/erlang-runtime24/pkg-descr b/lang/erlang-runtime24/pkg-descr deleted file mode 100644 index 62a08c50d761..000000000000 --- a/lang/erlang-runtime24/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -Erlang is a programming language used to build massively scalable soft -real-time systems with requirements on high availability. Some of its -uses are in telecoms, banking, e-commerce, computer telephony and -instant messaging. Erlang's runtime system has built-in support for -concurrency, distribution and fault tolerance. - -This port contains a standalone runtime environment of Erlang 24 -to be used during the development of OTP applications. diff --git a/lang/erlang-runtime25/Makefile b/lang/erlang-runtime25/Makefile deleted file mode 100644 index c56cf6b01fc9..000000000000 --- a/lang/erlang-runtime25/Makefile +++ /dev/null @@ -1,161 +0,0 @@ -PORTNAME= erlang -DISTVERSIONPREFIX= OTP- -DISTVERSION= 25.3.2.21 -PORTREVISION= 2 -CATEGORIES= lang parallel java -PKGNAMESUFFIX= -runtime25 -DIST_SUBDIR= erlang - -MAINTAINER= erlang@FreeBSD.org -COMMENT= Functional programming language from Ericsson -WWW= https://www.erlang.org/ - -LICENSE= APACHE20 - -USES= compiler cpe gmake ncurses perl5 -CPE_VENDOR= erlang -CPE_PRODUCT= erlang/otp -USE_GITHUB= nodefault -GH_ACCOUNT= erlang:otp,corba -GH_PROJECT= otp:otp corba:corba -GH_TAGNAME= 5.2.1:corba -USE_PERL5= build - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-dirty-schedulers \ - --enable-kernel-poll \ - --enable-smp-support \ - --enable-threads -MAKE_ARGS= all - -DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} -SUB_FILES= pkg-message -SUB_LIST= ERLANG_LIB=${ERLANG_LIB} - -WRKSRC= ${WRKSRC_otp} - -ERLANG_LIB= ${PORTNAME}${PORTVERSION:C/\..*//} - -OPTIONS_DEFINE= CHUNKS CORBA DTRACE JAVA KQUEUE ODBC OPENSSL SCTP \ - SHARING WX -OPTIONS_DEFAULT= CHUNKS CORBA DTRACE KQUEUE OPENSSL SCTP SHARING - -.if !exists(/usr/sbin/dtrace) -OPTIONS_EXCLUDE+= DTRACE -.endif - -OPTIONS_EXCLUDE_DragonFly= SCTP -# ld(1) fails to link probes: missing __dtrace_erlang___* symbols -# see also https://reviews.freebsd.org/D22360 -OPTIONS_EXCLUDE_aarch64= DTRACE -OPTIONS_EXCLUDE_armv6= DTRACE -OPTIONS_EXCLUDE_armv7= DTRACE -OPTIONS_EXCLUDE_i386= DTRACE -OPTIONS_EXCLUDE_riscv64= DTRACE - -CHUNKS_DESC= Enable in-line documentation in Erlang console -CORBA_DESC= Enable Corba support -KQUEUE_DESC= Enable Kernel Poll (kqueue) support -SCTP_DESC= Enable SCTP support -SHARING_DESC= Enable term copy-and-share support -WX_DESC= Enable WX application - -# If you run Erlang and get a message resembling "WARNING: number of -# probes fixed does not match the number of defined probes (54 != 132, -# respectively)" you probably misconfigured DTrace in some way. - -CHUNKS_MAKE_ARGS+= docs DOC_TARGETS=chunks -DTRACE_CONFIGURE_WITH= dynamic-trace=dtrace -DTRACE_CFLAGS= -fno-omit-frame-pointer -DTRACE_VARS= STRIP="" -JAVA_USES= java -JAVA_CONFIGURE_WITH= javac -JAVA_CONFIGURE_ENV= ac_cv_prog_JAVAC="${JAVAC}" -KQUEUE_CONFIGURE_ENABLE= kernel-poll -ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC -ODBC_USES= localbase:ldflags -ODBC_CONFIGURE_WITH= odbc -OPENSSL_USES= ssl -OPENSSL_CONFIGURE_WITH= ssl=${OPENSSLBASE} -SCTP_CONFIGURE_ENABLE= sctp -SHARING_CONFIGURE_ENABLE= sharing-preserving -WX_USES= gl -WX_CONFIGURE_WITH= wx-config=${WX_CONFIG} -WX_VARS= USE_GL="gl glu" \ - USE_WX=3.2+ \ - WX_COMPS="wx" - -.include <bsd.port.pre.mk> - -.if ${COMPILER_TYPE} == clang -# PR 258494 -CONFIGURE_ARGS+= --disable-pgo -.endif - -.if ${OPSYS} == FreeBSD -CFLAGS+= -DMAP_NORESERVE=0 -.endif - -.if ${ARCH} == i386 -MAKE_ARGS+= ARCH=x86 -.endif - -.if ${ARCH} == armv6 || ${ARCH} == armv7 -MAKE_ARGS+= ARCH=arm -.endif - -pre-configure-WX-off: - echo "disabled by port options" > ${WRKSRC}/lib/debugger/SKIP - echo "disabled by port options" > ${WRKSRC}/lib/et/SKIP - echo "disabled by port options" > ${WRKSRC}/lib/observer/SKIP - echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP - -post-configure-ODBC-on: - ${RM} ${WRKSRC}/lib/odbc/SKIP - -post-configure-ODBC-off: - echo "disabled by port options" > ${WRKSRC}/lib/odbc/SKIP - -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-DTRACE-on: - ${MKDIR} ${STAGEDIR}${DATADIR}/dtrace - ${INSTALL_DATA} ${WRKSRC}/erts/emulator/beam/*.d \ - ${WRKSRC}/lib/runtime_tools/c_src/*.d \ - ${WRKSRC}/lib/runtime_tools/examples/*.d \ - ${STAGEDIR}${DATADIR}/dtrace - -post-install-JAVA-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/jinterface-* - -post-install-ODBC-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/odbc-* - -post-install-OPENSSL-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/crypto-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssh-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssl-* - -post-install-WX-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/debugger-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/et-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/observer-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* - -post-stage: - ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty \ - -delete - @cd ${STAGEDIR}${PREFIX}; \ - ${FIND} lib/${ERLANG_LIB}/* ${DATADIR_REL}/* -type f -o \ - -type l | \ - ${SORT} >> ${TMPPLIST} - -.include <bsd.port.post.mk> diff --git a/lang/erlang-runtime25/distinfo b/lang/erlang-runtime25/distinfo deleted file mode 100644 index 6e3e1f403320..000000000000 --- a/lang/erlang-runtime25/distinfo +++ /dev/null @@ -1,5 +0,0 @@ -TIMESTAMP = 1747434403 -SHA256 (erlang/erlang-otp-OTP-25.3.2.21_GH0.tar.gz) = 6761432927a9be4f5c13c4019acd6fa3d2f4363198f790947328023aece1986f -SIZE (erlang/erlang-otp-OTP-25.3.2.21_GH0.tar.gz) = 60978586 -SHA256 (erlang/erlang-corba-5.2.1_GH0.tar.gz) = e96e9dc710c0ab3282ca5045434f5bc5ff493c22ba63fcfd764ce4d6a13a7c8f -SIZE (erlang/erlang-corba-5.2.1_GH0.tar.gz) = 1400553 diff --git a/lang/erlang-runtime25/files/patch-Makefile.in b/lang/erlang-runtime25/files/patch-Makefile.in deleted file mode 100644 index 7dcae6e3bf6b..000000000000 --- a/lang/erlang-runtime25/files/patch-Makefile.in +++ /dev/null @@ -1,20 +0,0 @@ ---- Makefile.in.orig 2025-05-08 11:08:25 UTC -+++ Makefile.in -@@ -60,7 +60,7 @@ libdir = @libdir@ - libdir = @libdir@ - - # Where Erlang/OTP is located --libdir_suffix = /erlang -+libdir_suffix = /erlang25 - erlang_libdir = $(libdir)$(libdir_suffix) - erlang_bindir = $(erlang_libdir)/bin - -@@ -1136,7 +1136,7 @@ $(TEST_DIRS): - # - # Order is important here, don't change it! - # --INST_DEP += install.dirs install.emulator install.libs install.Install install.otp_version install.bin -+INST_DEP += install.dirs install.emulator install.libs install.Install install.otp_version - - install: $(INST_DEP) - diff --git a/lang/erlang-runtime25/files/patch-erts_etc_unix_run__erl.c b/lang/erlang-runtime25/files/patch-erts_etc_unix_run__erl.c deleted file mode 100644 index 114fa638557f..000000000000 --- a/lang/erlang-runtime25/files/patch-erts_etc_unix_run__erl.c +++ /dev/null @@ -1,12 +0,0 @@ ---- erts/etc/unix/run_erl.c.orig 2025-05-08 11:08:25 UTC -+++ erts/etc/unix/run_erl.c -@@ -81,9 +81,6 @@ - #ifdef HAVE_LIBUTIL_H - # include <libutil.h> - #endif --#ifdef HAVE_UTIL_H --# include <util.h> --#endif - #ifdef HAVE_SYS_IOCTL_H - # include <sys/ioctl.h> - #endif diff --git a/lang/erlang-runtime25/files/patch-lib_crypto_c__src_Makefile.in b/lang/erlang-runtime25/files/patch-lib_crypto_c__src_Makefile.in deleted file mode 100644 index 6ffda4699a9b..000000000000 --- a/lang/erlang-runtime25/files/patch-lib_crypto_c__src_Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/crypto/c_src/Makefile.in.orig 2025-05-08 11:08:25 UTC -+++ lib/crypto/c_src/Makefile.in -@@ -147,7 +147,7 @@ ifeq ($(DYNAMIC_OR_WIN_CRYPTO_LIB),yes) - endif - - ifeq ($(DYNAMIC_OR_WIN_CRYPTO_LIB),yes) --SSL_DED_LD_RUNTIME_LIBRARY_PATH = @SSL_DED_LD_RUNTIME_LIBRARY_PATH@ -+SSL_DED_LD_RUNTIME_LIBRARY_PATH = - CRYPTO_LINK_LIB=$(SSL_DED_LD_RUNTIME_LIBRARY_PATH) -L$(SSL_LIBDIR) -l$(SSL_CRYPTO_LIBNAME) - EXTRA_FLAGS = -DHAVE_DYNAMIC_CRYPTO_LIB - else diff --git a/lang/erlang-runtime25/files/patch-lib_stdlib_src_calendar.erl b/lang/erlang-runtime25/files/patch-lib_stdlib_src_calendar.erl deleted file mode 100644 index 52854bdbd959..000000000000 --- a/lang/erlang-runtime25/files/patch-lib_stdlib_src_calendar.erl +++ /dev/null @@ -1,26 +0,0 @@ ---- lib/stdlib/src/calendar.erl.orig 2025-04-16 13:06:44 UTC -+++ lib/stdlib/src/calendar.erl -@@ -297,11 +297,19 @@ local_time_to_universal_time(DateTime, IsDst) -> - DateTime1 :: datetime1970(), - DateTime :: datetime1970(). - local_time_to_universal_time_dst(DateTime) -> -- UtDst = erlang:localtime_to_universaltime(DateTime, true), -- Ut = erlang:localtime_to_universaltime(DateTime, false), - %% Reverse check the universal times -- LtDst = erlang:universaltime_to_localtime(UtDst), -- Lt = erlang:universaltime_to_localtime(Ut), -+ {UtDst, LtDst} = -+ try -+ UtDst0 = erlang:localtime_to_universaltime(DateTime, true), -+ {UtDst0, erlang:universaltime_to_localtime(UtDst0)} -+ catch error:badarg -> {error, error} -+ end, -+ {Ut, Lt} = -+ try -+ Ut0 = erlang:localtime_to_universaltime(DateTime, false), -+ {Ut0, erlang:universaltime_to_localtime(Ut0)} -+ catch error:badarg -> {error, error} -+ end, - %% Return the valid universal times - case {LtDst,Lt} of - {DateTime,DateTime} when UtDst =/= Ut -> diff --git a/lang/erlang-runtime25/files/pkg-message.in b/lang/erlang-runtime25/files/pkg-message.in deleted file mode 100644 index 3564b8665b2a..000000000000 --- a/lang/erlang-runtime25/files/pkg-message.in +++ /dev/null @@ -1,8 +0,0 @@ -[ -{ type: install - message: <<EOM -To use this runtime port for development or testing, just prepend -its binary path ("%%LOCALBASE%%/lib/%%ERLANG_LIB%%/bin") to your PATH variable. -EOM -} -] diff --git a/lang/erlang-runtime25/pkg-descr b/lang/erlang-runtime25/pkg-descr deleted file mode 100644 index efff0dd6173b..000000000000 --- a/lang/erlang-runtime25/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -Erlang is a programming language used to build massively scalable soft -real-time systems with requirements on high availability. Some of its -uses are in telecoms, banking, e-commerce, computer telephony and -instant messaging. Erlang's runtime system has built-in support for -concurrency, distribution and fault tolerance. - -This port contains a standalone runtime environment of Erlang 25 -to be used during the development of OTP applications. diff --git a/lang/erlang-runtime26/Makefile b/lang/erlang-runtime26/Makefile deleted file mode 100644 index 7ee3465c957a..000000000000 --- a/lang/erlang-runtime26/Makefile +++ /dev/null @@ -1,164 +0,0 @@ -PORTNAME= erlang -DISTVERSIONPREFIX= OTP- -DISTVERSION= 26.2.5.20 -CATEGORIES= lang parallel java -PKGNAMESUFFIX= -runtime26 -DIST_SUBDIR= erlang - -MAINTAINER= erlang@FreeBSD.org -COMMENT= Functional programming language from Ericsson -WWW= https://www.erlang.org/ - -LICENSE= APACHE20 - -USES= compiler cpe gmake ncurses perl5 -CPE_VENDOR= erlang -CPE_PRODUCT= erlang/otp -USE_GITHUB= nodefault -GH_ACCOUNT= erlang:otp,corba -GH_PROJECT= otp:otp corba:corba -GH_TAGNAME= 5.2.1:corba -USE_PERL5= build - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-dirty-schedulers \ - --enable-kernel-poll \ - --enable-smp-support \ - --enable-threads - -_ERLANG_LIB= ${PORTNAME}${PORTVERSION:C/\..*//} - -DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} -SUB_FILES= pkg-message -SUB_LIST= _ERLANG_LIB=${_ERLANG_LIB} - -WRKSRC= ${WRKSRC_otp} - -OPTIONS_DEFINE= CHUNKS CORBA DTRACE JAVA KQUEUE ODBC OPENSSL SCTP \ - SHARING WX -OPTIONS_DEFAULT= CHUNKS CORBA DTRACE KQUEUE OPENSSL SCTP SHARING - -.if !exists(/usr/sbin/dtrace) -OPTIONS_EXCLUDE+= DTRACE -.endif - -OPTIONS_EXCLUDE_DragonFly= SCTP -# ld(1) fails to link probes: missing __dtrace_erlang___* symbols -# see also https://reviews.freebsd.org/D22360 -OPTIONS_EXCLUDE_aarch64= DTRACE -OPTIONS_EXCLUDE_armv6= DTRACE -OPTIONS_EXCLUDE_armv7= DTRACE -OPTIONS_EXCLUDE_i386= DTRACE -OPTIONS_EXCLUDE_riscv64= DTRACE - -CHUNKS_DESC= Enable in-line documentation in Erlang console -CORBA_DESC= Enable Corba support -KQUEUE_DESC= Enable Kernel Poll (kqueue) support -SCTP_DESC= Enable SCTP support -SHARING_DESC= Enable term copy-and-share support -WX_DESC= Enable WX application - -# If you run Erlang and get a message resembling "WARNING: number of -# probes fixed does not match the number of defined probes (54 != 132, -# respectively)" you probably misconfigured DTrace in some way. - -DTRACE_CONFIGURE_WITH= dynamic-trace=dtrace -DTRACE_CFLAGS= -fno-omit-frame-pointer -DTRACE_VARS= STRIP="" -JAVA_USES= java -JAVA_CONFIGURE_WITH= javac -JAVA_CONFIGURE_ENV= ac_cv_prog_JAVAC="${JAVAC}" -KQUEUE_CONFIGURE_ENABLE= kernel-poll -ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC -ODBC_USES= localbase:ldflags -ODBC_CONFIGURE_WITH= odbc -OPENSSL_USES= ssl -OPENSSL_CONFIGURE_WITH= ssl=${OPENSSLBASE} -SCTP_CONFIGURE_ENABLE= sctp -SHARING_CONFIGURE_ENABLE= sharing-preserving -WX_USES= gl -WX_CONFIGURE_WITH= wx-config=${WX_CONFIG} -WX_VARS= USE_GL="gl glu" \ - USE_WX=3.2+ \ - WX_COMPS="wx" - -.include <bsd.port.pre.mk> - -.if ${COMPILER_TYPE} == clang -# PR 258494 -CONFIGURE_ARGS+= --disable-pgo -.endif - -.if ${OPSYS} == FreeBSD -CFLAGS+= -DMAP_NORESERVE=0 -.endif - -.if ${ARCH} == i386 -MAKE_ARGS+= ARCH=x86 -.endif - -.if ${ARCH} == armv6 || ${ARCH} == armv7 -MAKE_ARGS+= ARCH=arm -.endif - -pre-configure-WX-off: - echo "disabled by port options" > ${WRKSRC}/lib/debugger/SKIP - echo "disabled by port options" > ${WRKSRC}/lib/et/SKIP - echo "disabled by port options" > ${WRKSRC}/lib/observer/SKIP - echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP - -post-configure-ODBC-on: - ${RM} ${WRKSRC}/lib/odbc/SKIP - -post-configure-ODBC-off: - echo "disabled by port options" > ${WRKSRC}/lib/odbc/SKIP - -post-install-CHUNKS-on: - cd ${WRKSRC_otp} && \ - ${SETENV} ERL_TOP=${WRKSRC_otp} \ - ${MAKE_CMD} release_docs DOC_TARGETS=chunks \ - RELEASE_ROOT=${STAGEDIR}${PREFIX}/lib/${_ERLANG_LIB} - -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-DTRACE-on: - ${MKDIR} ${STAGEDIR}${DATADIR}/dtrace - ${INSTALL_DATA} ${WRKSRC}/erts/emulator/beam/*.d \ - ${WRKSRC}/lib/runtime_tools/c_src/*.d \ - ${WRKSRC}/lib/runtime_tools/examples/*.d \ - ${STAGEDIR}${DATADIR}/dtrace - -post-install-JAVA-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/jinterface-* - -post-install-ODBC-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/odbc-* - -post-install-OPENSSL-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/crypto-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssh-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssl-* - -post-install-WX-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/debugger-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/et-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/observer-* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* - -post-stage: - ${FIND} ${STAGEDIR}${PREFIX}/lib/${_ERLANG_LIB}/* -type d -empty \ - -delete - @cd ${STAGEDIR}${PREFIX}; \ - ${FIND} lib/${_ERLANG_LIB}/* ${DATADIR_REL}/* -type f -o \ - -type l | \ - ${SORT} >> ${TMPPLIST} - -.include <bsd.port.post.mk> diff --git a/lang/erlang-runtime26/distinfo b/lang/erlang-runtime26/distinfo deleted file mode 100644 index ea36340466e4..000000000000 --- a/lang/erlang-runtime26/distinfo +++ /dev/null @@ -1,5 +0,0 @@ -TIMESTAMP = 1776775560 -SHA256 (erlang/erlang-otp-OTP-26.2.5.20_GH0.tar.gz) = a8b12200db9f3f3b78e469e6d982e22115701d592ddb068750fcbabd1ab84cd2 -SIZE (erlang/erlang-otp-OTP-26.2.5.20_GH0.tar.gz) = 62594660 -SHA256 (erlang/erlang-corba-5.2.1_GH0.tar.gz) = e96e9dc710c0ab3282ca5045434f5bc5ff493c22ba63fcfd764ce4d6a13a7c8f -SIZE (erlang/erlang-corba-5.2.1_GH0.tar.gz) = 1400553 diff --git a/lang/erlang-runtime26/files/patch-Makefile.in b/lang/erlang-runtime26/files/patch-Makefile.in deleted file mode 100644 index 46e9032eb2b9..000000000000 --- a/lang/erlang-runtime26/files/patch-Makefile.in +++ /dev/null @@ -1,20 +0,0 @@ ---- Makefile.in.orig 2025-05-08 11:07:43 UTC -+++ Makefile.in -@@ -60,7 +60,7 @@ libdir = @libdir@ - libdir = @libdir@ - - # Where Erlang/OTP is located --libdir_suffix = /erlang -+libdir_suffix = /erlang26 - erlang_libdir = $(libdir)$(libdir_suffix) - erlang_bindir = $(erlang_libdir)/bin - -@@ -883,7 +883,7 @@ $(TEST_DIRS): - # - # Order is important here, don't change it! - # --INST_DEP += install.dirs install.emulator install.libs install.Install install.otp_version install.bin -+INST_DEP += install.dirs install.emulator install.libs install.Install install.otp_version - - install: $(INST_DEP) - diff --git a/lang/erlang-runtime26/files/patch-erts_etc_unix_run__erl.c b/lang/erlang-runtime26/files/patch-erts_etc_unix_run__erl.c deleted file mode 100644 index ea3ad151d030..000000000000 --- a/lang/erlang-runtime26/files/patch-erts_etc_unix_run__erl.c +++ /dev/null @@ -1,12 +0,0 @@ ---- erts/etc/unix/run_erl.c.orig 2025-05-08 11:07:43 UTC -+++ erts/etc/unix/run_erl.c -@@ -81,9 +81,6 @@ - #ifdef HAVE_LIBUTIL_H - # include <libutil.h> - #endif --#ifdef HAVE_UTIL_H --# include <util.h> --#endif - #ifdef HAVE_SYS_IOCTL_H - # include <sys/ioctl.h> - #endif diff --git a/lang/erlang-runtime26/files/patch-lib_crypto_c__src_Makefile.in b/lang/erlang-runtime26/files/patch-lib_crypto_c__src_Makefile.in deleted file mode 100644 index 786f226d0b8d..000000000000 --- a/lang/erlang-runtime26/files/patch-lib_crypto_c__src_Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/crypto/c_src/Makefile.in.orig 2025-05-08 11:07:43 UTC -+++ lib/crypto/c_src/Makefile.in -@@ -147,7 +147,7 @@ ifeq ($(DYNAMIC_OR_WIN_CRYPTO_LIB),yes) - endif - - ifeq ($(DYNAMIC_OR_WIN_CRYPTO_LIB),yes) --SSL_DED_LD_RUNTIME_LIBRARY_PATH = @SSL_DED_LD_RUNTIME_LIBRARY_PATH@ -+SSL_DED_LD_RUNTIME_LIBRARY_PATH = - CRYPTO_LINK_LIB=$(SSL_DED_LD_RUNTIME_LIBRARY_PATH) -L$(SSL_LIBDIR) -l$(SSL_CRYPTO_LIBNAME) - EXTRA_FLAGS = -DHAVE_DYNAMIC_CRYPTO_LIB - else diff --git a/lang/erlang-runtime26/files/patch-lib_stdlib_src_calendar.erl b/lang/erlang-runtime26/files/patch-lib_stdlib_src_calendar.erl deleted file mode 100644 index 0a0d961d04b4..000000000000 --- a/lang/erlang-runtime26/files/patch-lib_stdlib_src_calendar.erl +++ /dev/null @@ -1,26 +0,0 @@ ---- lib/stdlib/src/calendar.erl.orig 2025-05-08 11:07:43 UTC -+++ lib/stdlib/src/calendar.erl -@@ -297,11 +297,19 @@ local_time_to_universal_time_dst(DateTime) -> - DateTime1 :: datetime1970(), - DateTime :: datetime1970(). - local_time_to_universal_time_dst(DateTime) -> -- UtDst = erlang:localtime_to_universaltime(DateTime, true), -- Ut = erlang:localtime_to_universaltime(DateTime, false), - %% Reverse check the universal times -- LtDst = erlang:universaltime_to_localtime(UtDst), -- Lt = erlang:universaltime_to_localtime(Ut), -+ {UtDst, LtDst} = -+ try -+ UtDst0 = erlang:localtime_to_universaltime(DateTime, true), -+ {UtDst0, erlang:universaltime_to_localtime(UtDst0)} -+ catch error:badarg -> {error, error} -+ end, -+ {Ut, Lt} = -+ try -+ Ut0 = erlang:localtime_to_universaltime(DateTime, false), -+ {Ut0, erlang:universaltime_to_localtime(Ut0)} -+ catch error:badarg -> {error, error} -+ end, - %% Return the valid universal times - case {LtDst,Lt} of - {DateTime,DateTime} when UtDst =/= Ut -> diff --git a/lang/erlang-runtime26/files/pkg-message.in b/lang/erlang-runtime26/files/pkg-message.in deleted file mode 100644 index bc656f93e1a6..000000000000 --- a/lang/erlang-runtime26/files/pkg-message.in +++ /dev/null @@ -1,8 +0,0 @@ -[ -{ type: install - message: <<EOM -To use this runtime port for development or testing, just prepend -its binary path ("%%LOCALBASE%%/lib/%%_ERLANG_LIB%%/bin") to your PATH variable. -EOM -} -] diff --git a/lang/erlang-runtime26/pkg-descr b/lang/erlang-runtime26/pkg-descr deleted file mode 100644 index 0cd259f87a1f..000000000000 --- a/lang/erlang-runtime26/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -Erlang is a programming language used to build massively scalable soft -real-time systems with requirements on high availability. Some of its -uses are in telecoms, banking, e-commerce, computer telephony and -instant messaging. Erlang's runtime system has built-in support for -concurrency, distribution and fault tolerance. - -This port contains a standalone runtime environment of Erlang 26 -to be used during the development of OTP applications. |
