svn commit: r515860 - head/math/hmat-oss

Piotr Kubaj pkubaj at FreeBSD.org
Mon Oct 28 13:42:38 UTC 2019


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


More information about the svn-ports-head mailing list