Date: Wed, 1 Jan 2020 22:50:04 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r521784 - head/math/gretl Message-ID: <202001012250.001Mo4T7053481@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001012250.001Mo4T7053481>