Created attachment 210377 [details] patch Since the last upgrade, gretl requires C11: ../lib/src/bhhh_max.c:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Lval' Fix this by adding USES=compiler:c11 and replacing OPENMP_USES=compiler:openmp with OPENMP_USE=GCC=yes. This sets the correct CC.
A commit references this bug: Author: pkubaj Date: Wed Jan 1 22:50:05 UTC 2020 New revision: 521784 URL: https://svnweb.freebsd.org/changeset/ports/521784 Log: math/gretl: fix build on GCC architectures Since the last upgrade, gretl requires C11: ../lib/src/bhhh_max.c:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Lval' Fix this by adding USES=compiler:c11 and replacing OPENMP_USES=compiler:openmp with OPENMP_USE=GCC=yes. This sets the correct CC. PR: 243027 Approved by: yuri (maintainer) Changes: head/math/gretl/Makefile
A commit references this bug: Author: pkubaj Date: Wed Jan 1 23:09:52 UTC 2020 New revision: 521786 URL: https://svnweb.freebsd.org/changeset/ports/521786 Log: MFH: r521784 math/gretl: fix build on GCC architectures Since the last upgrade, gretl requires C11: ../lib/src/bhhh_max.c:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Lval' Fix this by adding USES=compiler:c11 and replacing OPENMP_USES=compiler:openmp with OPENMP_USE=GCC=yes. This sets the correct CC. PR: 243027 Approved by: yuri (maintainer) Approved by: portmgr (fix build blanket) Changes: _U branches/2020Q1/ branches/2020Q1/math/gretl/Makefile