diff options
author | David Seifert <soap@gentoo.org> | 2024-10-08 17:31:52 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2024-10-08 17:31:52 +0200 |
commit | c8af7eb1285a2683460618b71e2e9a14ca6badcd (patch) | |
tree | 09f23f2e4455b902bbc3f505b56b7e0433e90d91 /eclass/fortran-2.eclass | |
parent | eclass: standardize inherit guard (diff) | |
download | gentoo-c8af7eb1285a2683460618b71e2e9a14ca6badcd.tar.gz gentoo-c8af7eb1285a2683460618b71e2e9a14ca6badcd.tar.bz2 gentoo-c8af7eb1285a2683460618b71e2e9a14ca6badcd.zip |
eclass: canonicalize debug-print-function calls
Closes: https://github.com/gentoo/gentoo/pull/37652
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/fortran-2.eclass')
-rw-r--r-- | eclass/fortran-2.eclass | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass index 9694a764685a..dcf7ee979d8a 100644 --- a/eclass/fortran-2.eclass +++ b/eclass/fortran-2.eclass @@ -91,7 +91,7 @@ unset _f_use # Return the Fortran compiler flag to enable 64 bit integers for # array indices fortran_int64_abi_fflags() { - debug-print-function ${FUNCNAME} "${@}" + debug-print-function ${FUNCNAME} "$@" local _FC=$(tc-getFC) if [[ ${_FC} == *gfortran* ]]; then @@ -108,7 +108,7 @@ fortran_int64_abi_fflags() { # @DESCRIPTION: # writes fortran test code _fortran_write_testsuite() { - debug-print-function ${FUNCNAME} "${@}" + debug-print-function ${FUNCNAME} "$@" local filebase=${T}/test-fortran @@ -136,7 +136,7 @@ _fortran_write_testsuite() { # Takes fortran compiler as first argument and dialect as second. # Checks whether the passed fortran compiler speaks the fortran dialect _fortran_compile_test() { - debug-print-function ${FUNCNAME} "${@}" + debug-print-function ${FUNCNAME} "$@" local filebase=${T}/test-fortran local fcomp=${1} @@ -163,7 +163,7 @@ _fortran_compile_test() { # @DESCRIPTION: # See if the fortran supports OpenMP. _fortran-has-openmp() { - debug-print-function ${FUNCNAME} "${@}" + debug-print-function ${FUNCNAME} "$@" local flag local filebase=${T}/test-fc-openmp @@ -192,7 +192,7 @@ _fortran-has-openmp() { # @DESCRIPTION: # Detailed description how to handle fortran support _fortran_die_msg() { - debug-print-function ${FUNCNAME} "${@}" + debug-print-function ${FUNCNAME} "$@" eerror eerror "Please install currently selected gcc version with USE=fortran." @@ -209,7 +209,7 @@ _fortran_die_msg() { # Internal test function for working fortran compiler. # It is called in fortran-2_pkg_setup. _fortran_test_function() { - debug-print-function ${FUNCNAME} "${@}" + debug-print-function ${FUNCNAME} "$@" local dialect @@ -275,7 +275,7 @@ _fortran-2_pkg_setup() { # Setup functionality, # checks for a valid fortran compiler and optionally for its openmp support. fortran-2_pkg_setup() { - debug-print-function ${FUNCNAME} "${@}" + debug-print-function ${FUNCNAME} "$@" if [[ ${MERGE_TYPE} != binary ]]; then _fortran-2_pkg_setup |