Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jan 2020 23:09:52 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r521786 - branches/2020Q1/math/gretl
Message-ID:  <202001012309.001N9qQt065977@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001012309.001N9qQt065977>