mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
parallel, bump version (#9685)
This commit is contained in:
@@ -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
|
||||
}
|
||||
@@ -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?= <przemub@przemub.pl>
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user