Files
macports-ports/science/gnuastro/files/patch-buildjobs.diff

14 lines
331 B
Diff

# https://trac.macports.org/ticket/66254
--- configure.orig 2024-03-29 13:43:02.000000000 +0400
+++ configure 2024-03-29 13:43:37.000000000 +0400
@@ -21930,7 +21930,7 @@
if test $has_sysctl = yes
then :
- jobs=$(sysctl -a | awk '/^hw\.ncpu/{print $2}')
+ jobs=@MP_BUILDJOBS@
else case e in #(
e) jobs=8 ;;
esac