aboutsummaryrefslogtreecommitdiff
path: root/sysutils/parallel
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-08-23 16:44:16 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-08-23 16:44:16 +0000
commit7ba0d66eec371b03ec9aa0dbe69493a04a5b33bc (patch)
tree2918cc4296492870fccda7214b8c6be695bfbca5 /sysutils/parallel
parentd6436f18881a064a80da91617c3243e0bf97387b (diff)
downloadports-7ba0d66eec371b03ec9aa0dbe69493a04a5b33bc.tar.gz
ports-7ba0d66eec371b03ec9aa0dbe69493a04a5b33bc.zip
- Update to 20140822
- While I'm here, fix STAGEDIR-prefixed link Changes: https://savannah.gnu.org/forum/forum.php?forum_id=8067 PR: ports/192945 Submitted by: Chris Howey <howeyc@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=365757
Diffstat (limited to 'sysutils/parallel')
-rw-r--r--sysutils/parallel/Makefile2
-rw-r--r--sysutils/parallel/distinfo4
-rw-r--r--sysutils/parallel/files/patch-src-Makefile.in11
-rw-r--r--sysutils/parallel/files/patch-src__parallel35
4 files changed, 14 insertions, 38 deletions
diff --git a/sysutils/parallel/Makefile b/sysutils/parallel/Makefile
index 09630a1338e5..514fb77e26b7 100644
--- a/sysutils/parallel/Makefile
+++ b/sysutils/parallel/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= parallel
-PORTVERSION= 20140722
+PORTVERSION= 20140822
CATEGORIES= sysutils
MASTER_SITES= GNU
diff --git a/sysutils/parallel/distinfo b/sysutils/parallel/distinfo
index 264add43ca5b..ffc205926761 100644
--- a/sysutils/parallel/distinfo
+++ b/sysutils/parallel/distinfo
@@ -1,2 +1,2 @@
-SHA256 (parallel-20140722.tar.bz2) = b6e0b8be4f15ea9f451b6a742e914aaa234a9008946aae151aff107a2172bb98
-SIZE (parallel-20140722.tar.bz2) = 911085
+SHA256 (parallel-20140822.tar.bz2) = 8a146a59bc71218921d561f2c801b85e06fe3a21571083b58e6e0966dd397fd4
+SIZE (parallel-20140822.tar.bz2) = 933029
diff --git a/sysutils/parallel/files/patch-src-Makefile.in b/sysutils/parallel/files/patch-src-Makefile.in
new file mode 100644
index 000000000000..a7bab392c11f
--- /dev/null
+++ b/sysutils/parallel/files/patch-src-Makefile.in
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig 2014-08-23 06:30:21.000000000 +0800
++++ src/Makefile.in 2014-08-24 00:36:21.359988465 +0800
+@@ -525,7 +525,7 @@
+
+ install-exec-hook:
+ rm $(DESTDIR)$(bindir)/sem || true
+- $(LN_S) $(DESTDIR)$(bindir)/parallel $(DESTDIR)$(bindir)/sem
++ $(LN_S) parallel $(DESTDIR)$(bindir)/sem
+
+ # Build documentation file if the tool to build exists.
+ # Otherwise: Use the distributed version
diff --git a/sysutils/parallel/files/patch-src__parallel b/sysutils/parallel/files/patch-src__parallel
deleted file mode 100644
index c040116a62ca..000000000000
--- a/sysutils/parallel/files/patch-src__parallel
+++ /dev/null
@@ -1,35 +0,0 @@
---- ./src/parallel.orig 2013-10-21 15:31:40.000000000 -0500
-+++ ./src/parallel 2013-10-23 15:11:54.000000000 -0500
-@@ -5538,29 +5538,13 @@
- # Returns:
- # number of chars on the longest command line allowed
- if(not $Limits::Command::line_max_len) {
-- # Disk cache of max command line length
-- my $len_cache = $ENV{'HOME'} . "/.parallel/tmp/linelen-" . ::hostname();
-- my $cached_limit;
-- if(-e $len_cache) {
-- open(my $fh, "<", $len_cache) || ::die_bug("Cannot read $len_cache");
-- $cached_limit = <$fh>;
-- close $fh;
-- } else {
-- $cached_limit = real_max_length();
-- # If $HOME is write protected: Do not fail
-- mkdir($ENV{'HOME'} . "/.parallel");
-- mkdir($ENV{'HOME'} . "/.parallel/tmp");
-- open(my $fh, ">", $len_cache);
-- print $fh $cached_limit;
-- close $fh;
-- }
-- $Limits::Command::line_max_len = $cached_limit;
-+ $Limits::Command::line_max_len = `getconf ARG_MAX` - 1024;
- if($opt::max_chars) {
-- if($opt::max_chars <= $cached_limit) {
-+ if($opt::max_chars <= $Limits::Command::line_max_len) {
- $Limits::Command::line_max_len = $opt::max_chars;
- } else {
- ::warning("Value for -s option ",
-- "should be < $cached_limit.\n");
-+ "should be < $Limits::Command::line_max_len.\n");
- }
- }
- }