commit:     d3a0bde5c611d9d121fb9e9e7c862b2bfc4f584e
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 19 20:06:13 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Jan 19 20:11:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3a0bde5

dev-ml/camlidl: fix parallelMake

Closes: https://bugs.gentoo.org/889872
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/camlidl/camlidl-1.09.ebuild                   |  3 ++-
 dev-ml/camlidl/files/camlidl-1.09.parallelMake.patch | 12 ++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/dev-ml/camlidl/camlidl-1.09.ebuild 
b/dev-ml/camlidl/camlidl-1.09.ebuild
index 44634ec4b018..5af918cd9c02 100644
--- a/dev-ml/camlidl/camlidl-1.09.ebuild
+++ b/dev-ml/camlidl/camlidl-1.09.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -20,6 +20,7 @@ S="${WORKDIR}"/${PN}-${PN}$(ver_rs 0-1 '')
 
 PATCHES=(
        "${FILESDIR}/nowarn.patch"
+       "${FILESDIR}"/${P}.parallelMake.patch
 )
 
 src_prepare() {

diff --git a/dev-ml/camlidl/files/camlidl-1.09.parallelMake.patch 
b/dev-ml/camlidl/files/camlidl-1.09.parallelMake.patch
new file mode 100644
index 000000000000..1a6df0f21f5e
--- /dev/null
+++ b/dev-ml/camlidl/files/camlidl-1.09.parallelMake.patch
@@ -0,0 +1,12 @@
+--- a/tests/Makefile   2023-01-19 21:02:36.678227862 +0100
++++ b/tests/Makefile   2023-01-19 21:03:01.140832955 +0100
+@@ -11,7 +11,8 @@
+ COMLIBS=$(COMLIBS_$(OSTYPE))
+ COMLIBS_win32=advapi32.lib ole32.lib oleaut32.lib
+ 
+-all: ../caml/camlidlruntime.h $(TESTS:.idl=.$(OBJEXT)) testcomp
++all: ../caml/camlidlruntime.h
++      $(MAKE) $(TESTS:.idl=.$(OBJEXT)) testcomp
+ 
+ $(TESTS:.idl=.$(OBJEXT)) component.$(OBJEXT): $(CAMLIDL) 
../runtime/camlidlruntime.h
+ 

Reply via email to