aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2021-04-06 07:23:13 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2021-04-20 06:57:34 +0000
commita91d65363fe8aa72bdf427bb639b0fe258ee7c01 (patch)
treebff05a5e79d56100a683a17dd262f3cdbf38cf36 /math
parent18f78deb5310e3dc0c3283cc5893339da900640c (diff)
downloadports-a91d65363fe8aa72bdf427bb639b0fe258ee7c01.tar.gz
ports-a91d65363fe8aa72bdf427bb639b0fe258ee7c01.zip
Mk/Uses/ninja.mk: Add support for devel/samurai (D29353)
Samurai is a Ninja-compatible build tool with fewer dependencies than Ninja. Hook it to the framework via a new NINJA_DEFAULT. This also adds %p to NINJA_STATUS to make Ninja or Samurai print the percentage of completed jobs to make it easier to eyeball how much of the build is done. PR: 254678 Exp-run by: antoine
Diffstat (limited to 'math')
-rw-r--r--math/py-pdal/Makefile5
-rw-r--r--math/sage/Makefile8
2 files changed, 6 insertions, 7 deletions
diff --git a/math/py-pdal/Makefile b/math/py-pdal/Makefile
index 5c686f8e7266..3d555bc787d9 100644
--- a/math/py-pdal/Makefile
+++ b/math/py-pdal/Makefile
@@ -12,13 +12,12 @@ LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}scikit-build>0:devel/py-scikit-build@${PY_FLAVOR} \
- ${LOCALBASE}/bin/cmake:devel/cmake \
- ${LOCALBASE}/bin/ninja:devel/ninja
+ cmake:devel/cmake
LIB_DEPENDS= libpdal_base.so:math/pdal
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
${PYNUMPY}
-USES= compiler:c++11-lang python:3.6+
+USES= compiler:c++11-lang ninja:build python:3.6+
USE_PYTHON= autoplist cython distutils
post-install:
diff --git a/math/sage/Makefile b/math/sage/Makefile
index 300a38dd406c..35b1253e5192 100644
--- a/math/sage/Makefile
+++ b/math/sage/Makefile
@@ -142,7 +142,6 @@ BUILD_DEPENDS= bash:shells/bash \
pari-nftables>0:math/pari_nftables \
pari-seadata>0:math/pari_seadata\
QuadraticSieve:math/flintqs \
- ninja:devel/ninja \
gpatch:devel/patch \
rubiks>0:math/rubiks \
sympow:math/sympow \
@@ -338,9 +337,10 @@ RUN_DEPENDS= bash:shells/bash \
yasm:devel/yasm \
pixz:archivers/pixz
-USES= autoreconf blaslapack:openblas compiler:c++11-lib fortran \
- gettext gmake gnome iconv jpeg libtool localbase ncurses perl5 \
- pkgconfig python:3.7+ readline shebangfix sqlite tk xorg
+USES= autoreconf blaslapack:openblas compiler:c++11-lib fortran \
+ gettext gmake gnome iconv jpeg libtool localbase ncurses \
+ ninja:build perl5 pkgconfig python:3.7+ readline shebangfix \
+ sqlite tk xorg
USE_TEX= latex:build pdftex:build tex:build
USE_XORG= x11 xext xscrnsaver
USE_GNOME= cairo glib20 pango