svn commit: r521784 - head/math/gretl
Piotr Kubaj
pkubaj at FreeBSD.org
Wed Jan 1 22:50:05 UTC 2020
Author: pkubaj
Date: Wed Jan 1 22:50:04 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)
Modified:
head/math/gretl/Makefile
Modified: head/math/gretl/Makefile
==============================================================================
--- head/math/gretl/Makefile Wed Jan 1 22:37:54 2020 (r521783)
+++ head/math/gretl/Makefile Wed Jan 1 22:50:04 2020 (r521784)
@@ -18,8 +18,8 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
libjson-glib-1.0.so:devel/json-glib \
libmpfr.so:math/mpfr
-USES= fortran gmake gnome localbase libtool ncurses pathfix pkgconfig \
- readline tar:xz
+USES= compiler:c11 fortran gmake gnome localbase libtool ncurses \
+ pathfix pkgconfig readline tar:xz
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
@@ -69,7 +69,7 @@ ODBC_CONFIGURE_WITH= odbc
ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC
OPENMP_CONFIGURE_ENABLE= openmp
-OPENMP_USES= compiler:openmp
+OPENMP_USE= GCC=yes
R_DESC= libR support
R_CONFIGURE_WITH= libR
More information about the svn-ports-all
mailing list