pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/mono6 Fix portability



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cbc9560e28af
branches:  trunk
changeset: 414498:cbc9560e28af
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Mar 29 01:07:01 2020 +0000

description:
Fix portability

diffstat:

 lang/mono6/distinfo                                      |   9 ++++++++-
 lang/mono6/patches/patch-acceptance-tests_Makefile.in    |  13 +++++++++++++
 lang/mono6/patches/patch-mono_mini_Makefile.am.in        |  13 +++++++++++++
 lang/mono6/patches/patch-mono_mini_Makefile.in           |  13 +++++++++++++
 lang/mono6/patches/patch-mono_tests_Makefile.am          |  13 +++++++++++++
 lang/mono6/patches/patch-mono_tests_Makefile.in          |  13 +++++++++++++
 lang/mono6/patches/patch-mono_utils_jemalloc_Makefile.in |  13 +++++++++++++
 lang/mono6/patches/patch-scripts_submodules_versions.mk  |  13 +++++++++++++
 8 files changed, 99 insertions(+), 1 deletions(-)

diffs (150 lines):

diff -r 5963d875e6aa -r cbc9560e28af lang/mono6/distinfo
--- a/lang/mono6/distinfo       Sun Mar 29 01:06:11 2020 +0000
+++ b/lang/mono6/distinfo       Sun Mar 29 01:07:01 2020 +0000
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.8 2020/02/14 00:50:51 kamil Exp $
+$NetBSD: distinfo,v 1.9 2020/03/29 01:07:01 joerg Exp $
 
 SHA1 (mono-6.8.0.105.tar.xz) = e39aa0ac15b3b73ecf0767462798a5acde0aed79
 RMD160 (mono-6.8.0.105.tar.xz) = 5a84c75f941d5a2a645999e13da8458fc87d3bac
 SHA512 (mono-6.8.0.105.tar.xz) = 8207082f6c538037a17dba5e22576d8e9b0aac946df270ff34daad0857e7b1cfd71c8cf4851e74dd5338397c9587540f11b23e71776bca6dc2a1b89dbed2fd7e
 Size (mono-6.8.0.105.tar.xz) = 243441900 bytes
+SHA1 (patch-acceptance-tests_Makefile.in) = 66866b180ccce299a0d492add5330351611ec5f2
 SHA1 (patch-data_Makefile.am) = 535480855e413750d5b6cab6351b1683ac911246
 SHA1 (patch-data_net__2__0_Browsers_Makefile.am) = 847fa7f5a54e7583a87c40749efe5a99e513c3c9
 SHA1 (patch-data_net__2__0_Makefile.am) = dffb23423381a9031587536ee5de2b34610329ee
@@ -18,9 +19,15 @@
 SHA1 (patch-mono_metadata_icall.c) = b326c16e9aa8f9ee154d937128e5e09fd31b235a
 SHA1 (patch-mono_metadata_mono-config.c) = d349721ff2b6b3b767208eacdc5882b9e6dc47b4
 SHA1 (patch-mono_metadata_w32mutex-unix.c) = c3d424fe4ae1079c9c664c876a087fb0134f2e22
+SHA1 (patch-mono_mini_Makefile.am.in) = 7f4555b53e74646d96c847862999e4eceaa86164
+SHA1 (patch-mono_mini_Makefile.in) = c8a96e8d9139b5f1c751abc2256af45c219e504e
+SHA1 (patch-mono_tests_Makefile.am) = ddeab885c28be53dc457261c63af53b3de754052
+SHA1 (patch-mono_tests_Makefile.in) = cf6a670e94b52f41d30ae6262f2f4ed5c0da4c05
+SHA1 (patch-mono_utils_jemalloc_Makefile.in) = 37a31f4c1fc40330a95c1c421dfc88359fbb4ef1
 SHA1 (patch-mono_utils_mono-os-semaphore.h) = b850911945c95be804e9462263d558ef702831ca
 SHA1 (patch-mono_utils_mono-sigcontext.h) = b8a6f886661622e9b0d382443536bd3dc998f95f
 SHA1 (patch-mono_utils_mono-threads-posix.c) = 3111d6a47fa104d964b34fdb5f7eca8643559ea3
 SHA1 (patch-mono_utils_mono-utils-debug.c) = 39f099969040b3a52101b611be723b25674ea68b
 SHA1 (patch-runtime_mono-wrapper.in) = ea40d2f2e8b67de0ae42c6e608e3c085dc2b040e
+SHA1 (patch-scripts_submodules_versions.mk) = 65f7ee0b8503f10d20f07127e6ca7021b44077de
 SHA1 (patch-support_minizip_ioapi.c) = 605c86916c957c31a8b3048d7703482f8f545463
diff -r 5963d875e6aa -r cbc9560e28af lang/mono6/patches/patch-acceptance-tests_Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/mono6/patches/patch-acceptance-tests_Makefile.in     Sun Mar 29 01:07:01 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-acceptance-tests_Makefile.in,v 1.1 2020/03/29 01:07:01 joerg Exp $
+
+--- acceptance-tests/Makefile.in.orig  2020-03-27 23:40:55.976678079 +0000
++++ acceptance-tests/Makefile.in
+@@ -5846,7 +5846,7 @@ __bump-version-%:
+ 
+ __bump-branch-%:
+       @if [ "$(BRANCH)" = "" ]; then echo "Usage: make bump-branch-$* BRANCH=<branch> REMOTE_BRANCH=<remote branch>"; exit 1; fi
+-      @if [ "$(REMOTE_BRANCH)" == "" ]; then echo "Usage: make bump-branch-$* BRANCH=<branch> REMOTE_BRANCH=<remote branch>"; exit 1; fi
++      @if [ "$(REMOTE_BRANCH)" = "" ]; then echo "Usage: make bump-branch-$* BRANCH=<branch> REMOTE_BRANCH=<remote branch>"; exit 1; fi
+       python $(SCRIPT) $(SUBMODULES_CONFIG_FILE) set-branch $* $(BRANCH)
+       python $(SCRIPT) $(SUBMODULES_CONFIG_FILE) set-remote-branch $* $(REMOTE_BRANCH)
+       @if [ "$(COMMIT)" = "1" ]; then echo "[submodules] Bump $* to switch to $(BRANCH) $(REMOTE BRANCH)." | git commit -F - $(SUBMODULES_CONFIG_FILE); fi
diff -r 5963d875e6aa -r cbc9560e28af lang/mono6/patches/patch-mono_mini_Makefile.am.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/mono6/patches/patch-mono_mini_Makefile.am.in Sun Mar 29 01:07:01 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-mono_mini_Makefile.am.in,v 1.3 2020/03/29 01:07:01 joerg Exp $
+
+--- mono/mini/Makefile.am.in.orig      2020-03-27 23:41:36.181681899 +0000
++++ mono/mini/Makefile.am.in
+@@ -1002,7 +1002,7 @@ endif
+       MONO_PATH=$(FULLAOT_MONO_PATH) $(top_builddir)/runtime/mono-wrapper $(MOBILE_RUNTIME_ARG) $(LLVM_AOT_RUNTIME_OPTS) $(GSHAREDVT_RUNTIME_OPTS) 
--aot="$(FULLAOT_AOT_ARGS),$(LLVM_AOT_COMPILER_OPTS)" $(FULLAOT_TMP_DIR)/{$(fullaot_testing_deps_commas),*.exe} || exit 1
+       ln -s $(if $(MONO_EXECUTABLE),$(MONO_EXECUTABLE),$$PWD/mono) $(FULLAOT_TMP_DIR)/
+       for i in $(fullaot_regtests); do echo $$i; MONO_PATH=$(FULLAOT_MONO_PATH) $(top_builddir)/runtime/mono-wrapper $(MOBILE_RUNTIME_ARG) $(FULLAOT_ARGS) $(FULLAOT_TMP_DIR)/$$i --exclude 
'!FULLAOT' $(ARCH_FULLAOT_EXCLUDE) || exit 1; done
+-      if test x$(MIXED) == x1; then failed=0;i=0; while test $$i -lt 900; do i=`expr $$i + 1`; bash -c "echo -n '.'"; MONO_PATH=$(FULLAOT_MONO_PATH) MONO_DEBUG=aot-skip=$$i 
$(top_builddir)/runtime/mono-wrapper --full-aot-interp $(FULLAOT_TMP_DIR)/basic.exe > $(FULLAOT_TMP_DIR)/mixed.log || failed=1; if test $$failed -eq 1; then echo "Failed at $$i"; exit $$failed; fi; 
done; fi
++      if test x$(MIXED) = x1; then failed=0;i=0; while test $$i -lt 900; do i=`expr $$i + 1`; bash -c "echo -n '.'"; MONO_PATH=$(FULLAOT_MONO_PATH) MONO_DEBUG=aot-skip=$$i 
$(top_builddir)/runtime/mono-wrapper --full-aot-interp $(FULLAOT_TMP_DIR)/basic.exe > $(FULLAOT_TMP_DIR)/mixed.log || failed=1; if test $$failed -eq 1; then echo "Failed at $$i"; exit $$failed; fi; 
done; fi
+ 
+ # This can run in parallel
+ fullaot-libs: $(patsubst %,fullaot-tmp/%.dylib,$(FULLAOT_LIBS))
diff -r 5963d875e6aa -r cbc9560e28af lang/mono6/patches/patch-mono_mini_Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/mono6/patches/patch-mono_mini_Makefile.in    Sun Mar 29 01:07:01 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-mono_mini_Makefile.in,v 1.1 2020/03/29 01:07:01 joerg Exp $
+
+--- mono/mini/Makefile.in.orig 2020-03-27 23:42:13.693641403 +0000
++++ mono/mini/Makefile.in
+@@ -3314,7 +3314,7 @@ fullaotcheck: $(mono) $(fullaot_regtests
+       MONO_PATH=$(FULLAOT_MONO_PATH) $(top_builddir)/runtime/mono-wrapper $(MOBILE_RUNTIME_ARG) $(LLVM_AOT_RUNTIME_OPTS) $(GSHAREDVT_RUNTIME_OPTS) 
--aot="$(FULLAOT_AOT_ARGS),$(LLVM_AOT_COMPILER_OPTS)" $(FULLAOT_TMP_DIR)/{$(fullaot_testing_deps_commas),*.exe} || exit 1
+       ln -s $(if $(MONO_EXECUTABLE),$(MONO_EXECUTABLE),$$PWD/mono) $(FULLAOT_TMP_DIR)/
+       for i in $(fullaot_regtests); do echo $$i; MONO_PATH=$(FULLAOT_MONO_PATH) $(top_builddir)/runtime/mono-wrapper $(MOBILE_RUNTIME_ARG) $(FULLAOT_ARGS) $(FULLAOT_TMP_DIR)/$$i --exclude 
'!FULLAOT' $(ARCH_FULLAOT_EXCLUDE) || exit 1; done
+-      if test x$(MIXED) == x1; then failed=0;i=0; while test $$i -lt 900; do i=`expr $$i + 1`; bash -c "echo -n '.'"; MONO_PATH=$(FULLAOT_MONO_PATH) MONO_DEBUG=aot-skip=$$i 
$(top_builddir)/runtime/mono-wrapper --full-aot-interp $(FULLAOT_TMP_DIR)/basic.exe > $(FULLAOT_TMP_DIR)/mixed.log || failed=1; if test $$failed -eq 1; then echo "Failed at $$i"; exit $$failed; fi; 
done; fi
++      if test x$(MIXED) = x1; then failed=0;i=0; while test $$i -lt 900; do i=`expr $$i + 1`; bash -c "echo -n '.'"; MONO_PATH=$(FULLAOT_MONO_PATH) MONO_DEBUG=aot-skip=$$i 
$(top_builddir)/runtime/mono-wrapper --full-aot-interp $(FULLAOT_TMP_DIR)/basic.exe > $(FULLAOT_TMP_DIR)/mixed.log || failed=1; if test $$failed -eq 1; then echo "Failed at $$i"; exit $$failed; fi; 
done; fi
+ 
+ # This can run in parallel
+ fullaot-libs: $(patsubst %,fullaot-tmp/%.dylib,$(FULLAOT_LIBS))
diff -r 5963d875e6aa -r cbc9560e28af lang/mono6/patches/patch-mono_tests_Makefile.am
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/mono6/patches/patch-mono_tests_Makefile.am   Sun Mar 29 01:07:01 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-mono_tests_Makefile.am,v 1.3 2020/03/29 01:07:01 joerg Exp $
+
+--- mono/tests/Makefile.am.orig        2020-03-27 23:57:32.877761629 +0000
++++ mono/tests/Makefile.am
+@@ -5,7 +5,7 @@ SUBDIRS = gc-descriptors . testing_gac a
+ check-local:
+       ok=:; \
+       $(MAKE) test-tailcall || ok=false; \
+-      if test x$(IGNORE_TEST_JIT) == x; then $(MAKE) test-jit || ok=false; fi; \
++      if test x$(IGNORE_TEST_JIT) = x; then $(MAKE) test-jit || ok=false; fi; \
+       $(MAKE) test-generic-sharing || ok=false; \
+       $(MAKE) test-type-load || ok=false; \
+       $(MAKE) test-multi-netmodule || ok=false; \
diff -r 5963d875e6aa -r cbc9560e28af lang/mono6/patches/patch-mono_tests_Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/mono6/patches/patch-mono_tests_Makefile.in   Sun Mar 29 01:07:01 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-mono_tests_Makefile.in,v 1.1 2020/03/29 01:07:01 joerg Exp $
+
+--- mono/tests/Makefile.in.orig        2020-03-27 23:45:58.917886158 +0000
++++ mono/tests/Makefile.in
+@@ -2682,7 +2682,7 @@ uninstall-am:
+ check-local:
+       ok=:; \
+       $(MAKE) test-tailcall || ok=false; \
+-      if test x$(IGNORE_TEST_JIT) == x; then $(MAKE) test-jit || ok=false; fi; \
++      if test x$(IGNORE_TEST_JIT) = x; then $(MAKE) test-jit || ok=false; fi; \
+       $(MAKE) test-generic-sharing || ok=false; \
+       $(MAKE) test-type-load || ok=false; \
+       $(MAKE) test-multi-netmodule || ok=false; \
diff -r 5963d875e6aa -r cbc9560e28af lang/mono6/patches/patch-mono_utils_jemalloc_Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/mono6/patches/patch-mono_utils_jemalloc_Makefile.in  Sun Mar 29 01:07:01 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-mono_utils_jemalloc_Makefile.in,v 1.1 2020/03/29 01:07:01 joerg Exp $
+
+--- mono/utils/jemalloc/Makefile.in.orig       2020-03-27 23:41:16.834591125 +0000
++++ mono/utils/jemalloc/Makefile.in
+@@ -736,7 +736,7 @@ __bump-version-%:
+ 
+ __bump-branch-%:
+       @if [ "$(BRANCH)" = "" ]; then echo "Usage: make bump-branch-$* BRANCH=<branch> REMOTE_BRANCH=<remote branch>"; exit 1; fi
+-      @if [ "$(REMOTE_BRANCH)" == "" ]; then echo "Usage: make bump-branch-$* BRANCH=<branch> REMOTE_BRANCH=<remote branch>"; exit 1; fi
++      @if [ "$(REMOTE_BRANCH)" = "" ]; then echo "Usage: make bump-branch-$* BRANCH=<branch> REMOTE_BRANCH=<remote branch>"; exit 1; fi
+       python $(SCRIPT) $(SUBMODULES_CONFIG_FILE) set-branch $* $(BRANCH)
+       python $(SCRIPT) $(SUBMODULES_CONFIG_FILE) set-remote-branch $* $(REMOTE_BRANCH)
+       @if [ "$(COMMIT)" = "1" ]; then echo "[submodules] Bump $* to switch to $(BRANCH) $(REMOTE BRANCH)." | git commit -F - $(SUBMODULES_CONFIG_FILE); fi
diff -r 5963d875e6aa -r cbc9560e28af lang/mono6/patches/patch-scripts_submodules_versions.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/mono6/patches/patch-scripts_submodules_versions.mk   Sun Mar 29 01:07:01 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-scripts_submodules_versions.mk,v 1.1 2020/03/29 01:07:01 joerg Exp $
+
+--- scripts/submodules/versions.mk.orig        2020-03-27 23:43:04.070978830 +0000
++++ scripts/submodules/versions.mk
+@@ -111,7 +111,7 @@ __bump-version-%:
+ 
+ __bump-branch-%:
+       @if [ "$(BRANCH)" = "" ]; then echo "Usage: make bump-branch-$* BRANCH=<branch> REMOTE_BRANCH=<remote branch>"; exit 1; fi
+-      @if [ "$(REMOTE_BRANCH)" == "" ]; then echo "Usage: make bump-branch-$* BRANCH=<branch> REMOTE_BRANCH=<remote branch>"; exit 1; fi
++      @if [ "$(REMOTE_BRANCH)" = "" ]; then echo "Usage: make bump-branch-$* BRANCH=<branch> REMOTE_BRANCH=<remote branch>"; exit 1; fi
+       python $(SCRIPT) $(SUBMODULES_CONFIG_FILE) set-branch $* $(BRANCH)
+       python $(SCRIPT) $(SUBMODULES_CONFIG_FILE) set-remote-branch $* $(REMOTE_BRANCH)
+       @if [ "$(COMMIT)" = "1" ]; then echo "[submodules] Bump $* to switch to $(BRANCH) $(REMOTE BRANCH)." | git commit -F - $(SUBMODULES_CONFIG_FILE); fi



Home | Main Index | Thread Index | Old Index