math/gretl: fix build on GCC architectures

Don't unconditionally use libomp, it breaks build on GCC architectures.

Instead set USES=compiler:openmp.

PR:		241099
Approved by:	yuri (maintainer), linimon (mentor)
This commit is contained in:
Piotr Kubaj 2019-10-08 17:12:47 +00:00
parent 9e35bc82bd
commit b15bf93ae2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=514093

View file

@ -3,7 +3,7 @@
PORTNAME= gretl
DISTVERSION= 2019a
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= math finance
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSIONFULL}/
@ -65,7 +65,7 @@ ODBC_CONFIGURE_WITH= odbc
ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC
OPENMP_CONFIGURE_ENABLE= openmp
OPENMP_LIB_DEPENDS= libomp.so:devel/openmp
OPENMP_USES= compiler:openmp
R_DESC= libR support
R_CONFIGURE_WITH= libR