Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 May 2019 16:48:09 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r502028 - head/science/py-phono3py
Message-ID:  <201905191648.x4JGm9jS070800@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun May 19 16:48:08 2019
New Revision: 502028
URL: https://svnweb.freebsd.org/changeset/ports/502028

Log:
  science/py-phono3py: Fix build on 12/13 (broken due to missing libgomp.so); Add USES=blaslapack:openblas
  
  libgomp.so was found in gcc8, which this ports doesn't explicitly depend on,
  and openmp wasn't installed but the build was failing later on 12 due to the
  lack of libgomp.so.
  
  Solution: Move openmp dependency from LIB_DEPENDS to BUILD_DEPENDS/RUN_DEPENDS.
  
  Reported by:	Gleb Popov <6yearold@gmail.com> (USES=blaslapack:openblas)

Modified:
  head/science/py-phono3py/Makefile

Modified: head/science/py-phono3py/Makefile
==============================================================================
--- head/science/py-phono3py/Makefile	Sun May 19 16:16:31 2019	(r502027)
+++ head/science/py-phono3py/Makefile	Sun May 19 16:48:08 2019	(r502028)
@@ -18,16 +18,16 @@ BUILD_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}phonopy>=1.13.2:science/py-phonopy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \
-		${LOCALBASE}/include/lapacke.h:math/lapacke
-LIB_DEPENDS=	libgomp.so:devel/openmp \
-		libopenblas.so:math/openblas
+		${LOCALBASE}/include/lapacke.h:math/lapacke \
+		openmp>0:devel/openmp
 RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}phonopy>=1.13.2:science/py-phonopy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \
+		openmp>0:devel/openmp
 
-USES=		localbase python
+USES=		blaslapack:openblas localbase python
 USE_PYTHON=	distutils cython autoplist
 
 .include <bsd.port.mk>



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