[63630] trunk/dports/sysutils/exec-wrapper

ryandesign at macports.org ryandesign at macports.org
Wed Feb 10 16:14:59 PST 2010


Revision: 63630
          http://trac.macports.org/changeset/63630
Author:   ryandesign at macports.org
Date:     2010-02-10 16:14:59 -0800 (Wed, 10 Feb 2010)
Log Message:
-----------
exec-wrapper: support Mac OS X < 10.5 by changing the way the 'which' command is used; see http://code.google.com/p/exec-wrapper/issues/detail?id=4

Modified Paths:
--------------
    trunk/dports/sysutils/exec-wrapper/Portfile

Added Paths:
-----------
    trunk/dports/sysutils/exec-wrapper/files/patch-which.diff

Modified: trunk/dports/sysutils/exec-wrapper/Portfile
===================================================================
--- trunk/dports/sysutils/exec-wrapper/Portfile	2010-02-10 21:13:42 UTC (rev 63629)
+++ trunk/dports/sysutils/exec-wrapper/Portfile	2010-02-11 00:14:59 UTC (rev 63630)
@@ -4,7 +4,7 @@
 
 name                        exec-wrapper
 version                     1.0.1
-revision                    3
+revision                    4
 categories                  sysutils
 platforms                   darwin
 maintainers                 ryandesign
@@ -25,6 +25,7 @@
 depends_run                 path:bin/gseq:coreutils
 
 patchfiles                  patch-exec-wrapper.in.diff \
+                            patch-which.diff \
                             patch-CC.diff
 
 use_configure               no

Added: trunk/dports/sysutils/exec-wrapper/files/patch-which.diff
===================================================================
--- trunk/dports/sysutils/exec-wrapper/files/patch-which.diff	                        (rev 0)
+++ trunk/dports/sysutils/exec-wrapper/files/patch-which.diff	2010-02-11 00:14:59 UTC (rev 63630)
@@ -0,0 +1,11 @@
+--- exec-wrapper.in.orig	2009-05-24 22:03:21.000000000 -0500
++++ exec-wrapper.in	2010-02-10 18:03:13.000000000 -0600
+@@ -152,7 +152,7 @@
+ # $1 - name.
+ checkUtil()
+ {
+-	which "${1}" >/dev/null 2>&1 || die "\"${1}\" not available"
++	[ -x "$( which "${1}" 2>/dev/null )" ] || die "\"${1}\" not available"
+ }
+ 
+ # Check required utilities.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100210/3fef15bb/attachment.html>


More information about the macports-changes mailing list