Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2019 13:42:38 +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: r515860 - head/math/hmat-oss
Message-ID:  <201910281342.x9SDgcmt024971@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Mon Oct 28 13:42:38 2019
New Revision: 515860
URL: https://svnweb.freebsd.org/changeset/ports/515860

Log:
  math/hmat-oss: fix build on GCC architectures
  
  Don't unconditionally depend on libomp, this breaks compilation on GCC architectures.
  
  Instead, add USES=compiler:openmp.
  
  Bump PORTREVISION because of dependency change.
  
  PR:		241017
  Approved by:	linimon (mentor), yuri (maintainer timeout)

Modified:
  head/math/hmat-oss/Makefile

Modified: head/math/hmat-oss/Makefile
==============================================================================
--- head/math/hmat-oss/Makefile	Mon Oct 28 13:27:05 2019	(r515859)
+++ head/math/hmat-oss/Makefile	Mon Oct 28 13:42:38 2019	(r515860)
@@ -2,7 +2,7 @@
 
 PORTNAME=	hmat-oss
 DISTVERSION=	1.5.0-348
-PORTREVISION=	2
+PORTREVISION=	3
 DISTVERSIONSUFFIX=	-g76beaf3
 CATEGORIES=	math
 
@@ -13,10 +13,9 @@ LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
 LIB_DEPENDS=	libcblas.so:math/cblas \
-		libomp.so:devel/openmp \
 		libopenblas.so:math/openblas
 
-USES=		cmake
+USES=		cmake compiler:openmp
 USE_GITHUB=	yes
 GH_ACCOUNT=	jeromerobert
 USE_LDCONFIG=	yes



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