svn commit: r521786 - branches/2020Q1/math/gretl

Piotr Kubaj pkubaj at FreeBSD.org
Wed Jan 1 23:09:53 UTC 2020


Author: pkubaj
Date: Wed Jan  1 23:09:52 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)

Modified:
  branches/2020Q1/math/gretl/Makefile
Directory Properties:
  branches/2020Q1/   (props changed)

Modified: branches/2020Q1/math/gretl/Makefile
==============================================================================
--- branches/2020Q1/math/gretl/Makefile	Wed Jan  1 23:07:20 2020	(r521785)
+++ branches/2020Q1/math/gretl/Makefile	Wed Jan  1 23:09:52 2020	(r521786)
@@ -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