diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-02-13 03:32:23 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-02-13 03:32:23 +0000 |
commit | 652bb3467e0d12c948ccdfa6d7dfa587928af3f6 (patch) | |
tree | 144604dc671ebd37c24d5d39caf9394fe166b545 /sysutils/parallel | |
parent | b94e5a948804543ce740d91f1db1f024e4abef29 (diff) |
- Update to 20110205
Changes: http://savannah.gnu.org/forum/forum.php?forum_id=6713
PR: ports/154721
Submitted by: Chris Howey <howeyc@gmail.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=269038
Diffstat (limited to 'sysutils/parallel')
-rw-r--r-- | sysutils/parallel/Makefile | 3 | ||||
-rw-r--r-- | sysutils/parallel/distinfo | 4 | ||||
-rw-r--r-- | sysutils/parallel/files/patch-src__parallel | 29 |
3 files changed, 6 insertions, 30 deletions
diff --git a/sysutils/parallel/Makefile b/sysutils/parallel/Makefile index f082ff17d73a..fa07f34ab9c3 100644 --- a/sysutils/parallel/Makefile +++ b/sysutils/parallel/Makefile @@ -6,8 +6,7 @@ # PORTNAME= parallel -PORTVERSION= 20110122 -PORTREVISION= 1 +PORTVERSION= 20110205 CATEGORIES= sysutils MASTER_SITES= GNU diff --git a/sysutils/parallel/distinfo b/sysutils/parallel/distinfo index 3e572f867323..1001fae43958 100644 --- a/sysutils/parallel/distinfo +++ b/sysutils/parallel/distinfo @@ -1,2 +1,2 @@ -SHA256 (parallel-20110122.tar.bz2) = 6c5a6f245d2ce3b315f878b22472c620fbf1906e65dd3b223a5be79ca1085634 -SIZE (parallel-20110122.tar.bz2) = 157049 +SHA256 (parallel-20110205.tar.bz2) = 72ffaf2fa8497595321dc8e04b9cc8770969d75328cb09cbb7e1138deba13e7c +SIZE (parallel-20110205.tar.bz2) = 159505 diff --git a/sysutils/parallel/files/patch-src__parallel b/sysutils/parallel/files/patch-src__parallel index 6d460db6b7f2..525eee9852f9 100644 --- a/sysutils/parallel/files/patch-src__parallel +++ b/sysutils/parallel/files/patch-src__parallel @@ -1,29 +1,6 @@ ---- ./src/parallel.orig 2011-01-22 15:37:41.000000000 -0700 -+++ ./src/parallel 2011-02-06 14:56:46.000000000 -0700 -@@ -2077,14 +2077,20 @@ - sub no_of_cpus_freebsd { - # Returns: - # Number of physical CPUs on FreeBSD -- my $no_of_cpus = `sysctl hw.ncpu 2>/dev/null | awk '{ print \$2 }'`; -+ my $no_of_cpus = -+ (`sysctl -a dev.cpu | grep \%parent | awk '{ print \$2 }' | uniq | wc -l | awk '{ print \$1 }'` -+ or -+ `sysctl hw.ncpu 2>/dev/null | awk '{ print \$2 }'`); - return $no_of_cpus; - } - - sub no_of_cores_freebsd { - # Returns: - # Number of CPU cores on FreeBSD -- my $no_of_cores = `sysctl -a hw 2>/dev/null | grep -w logicalcpu | awk '{ print \$2 }'`; -+ my $no_of_cores = -+ (`sysctl hw.ncpu 2>/dev/null | awk '{ print \$2 }'` -+ or -+ `sysctl -a hw 2>/dev/null | grep -w logicalcpu | awk '{ print \$2 }'`); - return $no_of_cores; - } - -@@ -3455,28 +3461,42 @@ +--- ./src/parallel.orig 2011-02-03 15:33:39.000000000 -0700 ++++ ./src/parallel 2011-02-12 15:28:20.000000000 -0700 +@@ -3542,28 +3542,42 @@ # Maximal command line length (for -m and -X) sub max_length { |