git: 53dcf591d2e9 - main - net/mpich: do not fail when F90 is set
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 04 Nov 2022 16:43:03 UTC
The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=53dcf591d2e901db8fb228f1ccd3e63efdc82215 commit 53dcf591d2e901db8fb228f1ccd3e63efdc82215 Author: Olivier Certner <olivier.freebsd@free.fr> AuthorDate: 2022-11-04 14:00:00 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2022-11-04 16:42:38 +0000 net/mpich: do not fail when F90 is set PR: 267502 --- net/mpich/files/patch-configure | 27 ++++++++++++++++++++++----- net/mpich/files/patch-test_mpi_configure | 26 ++++++++++++++++++++++++-- 2 files changed, 46 insertions(+), 7 deletions(-) diff --git a/net/mpich/files/patch-configure b/net/mpich/files/patch-configure index 6f24e6b3da55..28fb585ffa4e 100644 --- a/net/mpich/files/patch-configure +++ b/net/mpich/files/patch-configure @@ -1,6 +1,6 @@ ---- configure.orig 2021-05-26 20:57:14 UTC +--- configure.orig 2021-12-16 17:26:22 UTC +++ configure -@@ -1217,8 +1217,6 @@ HWLOC_top_builddir +@@ -1217,8 +1217,6 @@ hwlocsrcdir hwloclib hwloclibdir hwlocsrcdir @@ -9,7 +9,7 @@ VISIBILITY_CFLAGS BUILD_PROFILING_LIB_FALSE BUILD_PROFILING_LIB_TRUE -@@ -31276,337 +31274,7 @@ if test "$NEEDSPLIB" = "yes" ; then +@@ -31276,337 +31274,7 @@ fi VISIBILITY_CFLAGS="" fi @@ -347,7 +347,24 @@ # ---------------------------------------------------------------------------- # HWLOC # ---------------------------------------------------------------------------- -@@ -46449,18 +46117,8 @@ the same routine with arguments of different types." " +@@ -43674,16 +43342,6 @@ _ACEOF + # must come first. + # ---------------------------------------------------------------------------- + +-# +-# First, determine whether we are/can support the language bindings +-# +-# Since F90/F90FLAGS are replaced by FC/FCFLAGS, rather than silently +-# substituting them, i.e. FC=$F90 and FCFLAGS=$F90FLAGS, we choose to emit +-# an error message and abort to avoid any ambiguous/hidden bug in choosing +-# Fortran90 compilers. +-if test -n "$F90" -o -n "$F90FLAGS" ; then +- as_fn_error $? "F90 and F90FLAGS are replaced by FC and FCFLAGS respectively in this configure, please unset F90/F90FLAGS and set FC/FCFLAGS instead and rerun configure again." "$LINENO" 5 +-fi + # ---------------------------------------------------------------------------- + # Handle default choices for the Fortran compilers + # Note that these have already been set above +@@ -46449,18 +46107,8 @@ addarg=$pac_cv_prog_f77_mismatched_args_parm fi addarg=$pac_cv_prog_f77_mismatched_args_parm @@ -367,7 +384,7 @@ bindings="$bindings f77" $as_echo "#define HAVE_FORTRAN_BINDING 1" >>confdefs.h -@@ -52094,6 +51752,9 @@ if ${ac_cv_alignof_wchar_t+:} false; then : +@@ -52094,6 +51742,9 @@ else $as_echo_n "(cached) " >&6 else if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_wchar_t" "$ac_includes_default diff --git a/net/mpich/files/patch-test_mpi_configure b/net/mpich/files/patch-test_mpi_configure index 7a10fdc30536..17357f8efb8a 100644 --- a/net/mpich/files/patch-test_mpi_configure +++ b/net/mpich/files/patch-test_mpi_configure @@ -1,6 +1,28 @@ ---- test/mpi/configure.orig 2021-01-05 15:32:00 UTC +--- test/mpi/configure.orig 2021-12-16 17:25:47 UTC +++ test/mpi/configure -@@ -10907,17 +10907,7 @@ the same routine with arguments of different types." " +@@ -4486,21 +4486,9 @@ fi + fi + fi + +-# First, determine whether we are/can support the language bindings +-# +-# Since F90/F90FLAGS are replaced by FC/FCFLAGS, rather than silently +-# substituting them, i.e. FC=$F90 and FCFLAGS=$F90FLAGS, we choose to emit +-# an error message and abort to avoid any ambiguous/hidden bug in choosing +-# Fortran90 compilers. +-if test -n "$F90" -o -n "$F90FLAGS" ; then +- as_fn_error $? "F90 and F90FLAGS are replaced by FC and FCFLAGS respectively in this configure, please unset F90/F90FLAGS and set FC/FCFLAGS instead and rerun configure again." "$LINENO" 5 +-fi + + # ------------------------------------------------------------------------ + +- +-# ------------------------------------------------------------------------ +- + if test "$enable_threads" = "yes" ; then + enable_threads=multiple + elif test "$enable_threads" = "no" ; then +@@ -11038,17 +11026,7 @@ addarg=$pac_cv_prog_f77_mismatched_args_parm fi addarg=$pac_cv_prog_f77_mismatched_args_parm