diff --git a/sys-process/parallel/parallel-2020.04.22.recipe b/sys-process/parallel/parallel-2023.10.22.recipe similarity index 92% rename from sys-process/parallel/parallel-2020.04.22.recipe rename to sys-process/parallel/parallel-2023.10.22.recipe index 075373f70..9b59e61ca 100644 --- a/sys-process/parallel/parallel-2020.04.22.recipe +++ b/sys-process/parallel/parallel-2023.10.22.recipe @@ -20,12 +20,12 @@ arguments. If no command is given, the line of input is executed. \ Several lines will be run in parallel. GNU parallel can often be used as \ a substitute for xargs or cat | bash." HOMEPAGE="https://www.gnu.org/software/parallel/" -COPYRIGHT="2004-2020 Ole Tango" +COPYRIGHT="2004-2022 Ole Tango" LICENSE="GNU GPL v3" REVISION="1" SOURCE_URI="ftp://ftp.gnu.org/gnu/parallel/parallel-${portVersion//./}.tar.bz2" SOURCE_DIR="parallel-${portVersion//./}" -CHECKSUM_SHA256="4bdebf91cc39ea54dec384ad475463cb7c2758fda2ae4a30111e7cfdb3c85530" +CHECKSUM_SHA256="93f2b94f1850798a4b5dda22bdae86dab6a6565e3525860e08e46f2563f3268c" PATCHES="parallel-$portVersion.patchset" ARCHITECTURES="all" @@ -56,11 +56,10 @@ REQUIRES=" cmd:perl " -BUILD_REQUIRES=" -" BUILD_PREREQUIRES=" - cmd:make cmd:awk + cmd:make + cmd:perl " BUILD() @@ -72,4 +71,8 @@ BUILD() INSTALL() { make install + + mkdir $dataDir + mv $prefix/share/* $dataDir + rm -r $prefix/share } diff --git a/sys-process/parallel/patches/parallel-2020.04.22.patchset b/sys-process/parallel/patches/parallel-2023.10.22.patchset similarity index 68% rename from sys-process/parallel/patches/parallel-2020.04.22.patchset rename to sys-process/parallel/patches/parallel-2023.10.22.patchset index 8bc50c67e..f34be19e1 100644 --- a/sys-process/parallel/patches/parallel-2020.04.22.patchset +++ b/sys-process/parallel/patches/parallel-2023.10.22.patchset @@ -1,26 +1,23 @@ -From 8d785ea26c4dda7b1165be3ffb8346c91def6fdc Mon Sep 17 00:00:00 2001 +From 1959247632b826daf39f444d063fc637e8ac018f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20S=C5=82aby?= Date: Mon, 18 May 2020 18:08:03 +0100 Subject: [PATCH] Disable ps processing due to Haiku's team/thread model ---- - src/parallel | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/parallel b/src/parallel -index 03a3549..8ddd1ef 100755 +index 7e9f512..93ba40a 100755 --- a/src/parallel +++ b/src/parallel -@@ -1732,7 +1732,7 @@ sub parse_options(@) { - if($opt::bug) { ::die_bug("test-bug"); } - $Global::debug = $opt::D; +@@ -2241,7 +2241,7 @@ sub parse_options(@) { + ## Shell + # $Global::shell = $ENV{'PARALLEL_SHELL'} || parent_shell($$) - || $ENV{'SHELL'} || "/bin/sh"; + || $ENV{'SHELL'} || "/bin/bash"; if(not -x $Global::shell and not which($Global::shell)) { ::error("Shell '$Global::shell' not found."); wait_and_exit(255); -@@ -5746,6 +5746,7 @@ sub which(@) { +@@ -6662,6 +6662,7 @@ sub which(@) { 'dragonfly' => $bsd, 'freebsd' => $bsd, 'gnu' => $sysv, @@ -29,5 +26,5 @@ index 03a3549..8ddd1ef 100755 'linux' => $sysv, 'mirbsd' => $bsd, -- -2.26.0 +2.42.0