git: 5d5367bc0202 - main - math/scilab: Fix parallel build with gmake 4.4

From: Tijl Coosemans <tijl_at_FreeBSD.org>
Date: Wed, 06 Mar 2024 10:22:49 UTC
The branch main has been updated by tijl:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5d5367bc0202a15d5a2bf06eed0501ec901e53f8

commit 5d5367bc0202a15d5a2bf06eed0501ec901e53f8
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2024-03-06 09:59:01 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2024-03-06 10:18:35 +0000

    math/scilab: Fix parallel build with gmake 4.4
    
    Remove prerequisites from .NOTPARALLEL to restore the behaviour from
    previous versions of gmake.
    
    PR:             272216
    Reported by:    antoine
---
 math/scilab/files/patch-Makefile.in         | 11 +++++++++++
 math/scilab/files/patch-modules_Makefile.in | 11 +++++++++++
 2 files changed, 22 insertions(+)

diff --git a/math/scilab/files/patch-Makefile.in b/math/scilab/files/patch-Makefile.in
new file mode 100644
index 000000000000..a22970479004
--- /dev/null
+++ b/math/scilab/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	2021-07-15 11:54:56 UTC
++++ Makefile.in
+@@ -2517,7 +2517,7 @@ install-data-local:
+ 
+ .PHONY: macros localization doc strip-debug
+ 
+-.NOTPARALLEL: macros doc
++.NOTPARALLEL:
+ 
+ # Construct the LD_LIBRARY_PATH from the variable detected previously
+ # Run the unitary test of call_scilab
diff --git a/math/scilab/files/patch-modules_Makefile.in b/math/scilab/files/patch-modules_Makefile.in
new file mode 100644
index 000000000000..3c74abeabbba
--- /dev/null
+++ b/math/scilab/files/patch-modules_Makefile.in
@@ -0,0 +1,11 @@
+--- modules/Makefile.in.orig	2021-07-15 11:55:11 UTC
++++ modules/Makefile.in
+@@ -1137,7 +1137,7 @@ uninstall-am: uninstall-pkglibLTLIBRARIES
+ .PRECIOUS: Makefile
+ 
+ 
+-.NOTPARALLEL: libscilab-cli.la libscilab.la
++.NOTPARALLEL:
+ 
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.