svn commit: r551437 - head/math/py-pplpy
Thierry Thomas
thierry at FreeBSD.org
Sun Oct 4 18:12:52 UTC 2020
Author: thierry
Date: Sun Oct 4 18:12:51 2020
New Revision: 551437
URL: https://svnweb.freebsd.org/changeset/ports/551437
Log:
- Add a missing dependency on math/pari
- It is broken with clang11, use clang10 if needed.
Modified:
head/math/py-pplpy/Makefile
Modified: head/math/py-pplpy/Makefile
==============================================================================
--- head/math/py-pplpy/Makefile Sun Oct 4 18:11:03 2020 (r551436)
+++ head/math/py-pplpy/Makefile Sun Oct 4 18:12:51 2020 (r551437)
@@ -2,7 +2,8 @@
# $FreeBSD$
PORTNAME= pplpy
-DISTVERSION= 0.8.4
+PORTVERSION= 0.8.4
+PORTREVISION= 1
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,6 +18,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gmpy2-devel>0:ma
LIB_DEPENDS= libgmp.so:math/gmp \
libmpfr.so:math/mpfr \
libmpc.so:math/mpc \
+ libpari.so:math/pari \
libppl.so:devel/ppl
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gmpy2-devel>0:math/py-gmpy2-devel@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR}
@@ -29,6 +31,16 @@ DOCS_BUILD_DEPENDS= ${PY_SPHINX}
DOCS_USES= gmake
PORTDOCS= *
+.include <bsd.port.pre.mk>
+
+.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 110
+# error: cannot initialize a parameter of type 'bool' with an rvalue of type 'nullptr_t'
+BUILD_DEPENDS+= ${LOCALBASE}/bin/clang10:devel/llvm10
+CPP= ${LOCALBASE}/bin/clang-cpp10
+CC= ${LOCALBASE}/bin/clang10
+CXX= ${LOCALBASE}/bin/clang++10
+.endif
+
do-build-DOCS-on:
(cd ${WRKSRC}/docs && ${GMAKE} html)
@@ -36,4 +48,4 @@ post-build-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${CP} -R ${WRKSRC}/docs/build/html/* ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
More information about the svn-ports-head
mailing list