svn commit: r502028 - head/science/py-phono3py

Yuri Victorovich yuri at FreeBSD.org
Sun May 19 16:48:10 UTC 2019


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 at 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>


More information about the svn-ports-all mailing list