Date: Thu, 13 Nov 2025 16:56:41 GMT From: Gleb Popov <arrowd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: df5bce991573 - main - science/mpqc: Fix building with Flang Message-ID: <202511131656.5ADGufAZ008539@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=df5bce991573c2a519a15184aaec9778dae74f7b commit df5bce991573c2a519a15184aaec9778dae74f7b Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2025-11-13 16:02:51 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2025-11-13 16:56:34 +0000 science/mpqc: Fix building with Flang --- science/mpqc/files/patch-configure | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/science/mpqc/files/patch-configure b/science/mpqc/files/patch-configure index 692451d6e025..d75a082b072d 100644 --- a/science/mpqc/files/patch-configure +++ b/science/mpqc/files/patch-configure @@ -1,6 +1,6 @@ --- configure.orig 2006-03-22 19:13:52 UTC +++ configure -@@ -2268,14 +2268,12 @@ echo Using FORTRAN runtime libraries: $withval +@@ -2268,14 +2268,12 @@ fi; fi; @@ -15,7 +15,7 @@ echo Using extra library directories: $withval fi; -@@ -2290,7 +2288,7 @@ if test "${with_cca_chem_config+set}" = set; then +@@ -2290,7 +2288,7 @@ else else @@ -24,7 +24,7 @@ # Extract the first word of "cca-chem-config", so it can be a program name with args. set dummy cca-chem-config; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 -@@ -5207,7 +5205,7 @@ case $target_cpu in +@@ -5207,7 +5205,7 @@ esac ;; esac @@ -33,7 +33,7 @@ echo "$as_me:$LINENO: checking for C++ cpu tuning flag" >&5 echo $ECHO_N "checking for C++ cpu tuning flag... $ECHO_C" >&6 -@@ -5265,7 +5263,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu +@@ -5265,7 +5263,7 @@ fi echo "${ECHO_T}$cxx_tuneflag" >&6 fi @@ -42,6 +42,15 @@ echo "$as_me:$LINENO: checking for C cpu tuning flag" >&5 echo $ECHO_N "checking for C cpu tuning flag... $ECHO_C" >&6 CFLAGS_SAV=$CFLAGS +@@ -12444,7 +12442,7 @@ if test -n "$F77" -a "$F77" != no ; then + echo " return" >> ffunc.f + echo " end" >> ffunc.f + $F77 -c ffunc.f 1>/dev/null 2>/dev/null +- echo "main(){ FF(); return 0; }" > flink.c ++ echo "int FF(void); int main(){ FF(); return 0; }" > flink.c + if $CC -o flink -DFF=ffunc flink.c ffunc.o $LDFLAGS $LIBS 1>/dev/null 2>/dev/null; then + echo "$as_me:$LINENO: result: same as C" >&5 + echo "${ECHO_T}same as C" >&6 @@ -28629,10 +28627,10 @@ ENABLESHARED=$enable_sharedhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202511131656.5ADGufAZ008539>
