summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2020-07-04 11:10:29 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2020-07-04 11:10:29 +0000
commitf5e1422d15ce8f4941bde9698e49f359a6340dc2 (patch)
tree5fcafbad856df519292bf15e612be5b9578f7120
parent9c477217f73d7f3f3c026bb2933d887e5beccf6f (diff)
downloadfreebsd-ports-f5e1422d15ce8f4941bde9698e49f359a6340dc2.zip
science/libccp4: Unbreak build with GCC 10
fortran/pack_f.f:109:28: 45 | call pack_wordimage_f(data, x, y, filnarray) | 2 ...... 109 | call pack_wordimage_f(data, x, y, filnarray) | 1 Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/INTEGER(2)). fortran/pack_f.f:141:30: 77 | call v2pack_wordimage_f(data, x, y, filnarray) | 2 ...... 141 | call v2pack_wordimage_f(data, x, y, filnarray) | 1 Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/INTEGER(2)). http://package18.nyi.freebsd.org/data/121amd64-default-PR244494/2020-06-10_18h04m44s/logs/errors/libccp4-6.5.1_4.log PR: 246700
-rw-r--r--science/libccp4/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/science/libccp4/Makefile b/science/libccp4/Makefile
index 160633899c02..26d55fba3074 100644
--- a/science/libccp4/Makefile
+++ b/science/libccp4/Makefile
@@ -25,7 +25,7 @@ INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
CFLAGS+= -fPIC
-FFLAGS+= -fPIC
+FFLAGS+= -fPIC -std=legacy
post-configure:
${REINPLACE_CMD} -e 's| -Wl,--as-needed||; s| -Wl,--no-as-needed||' ${WRKSRC}/Makefile