[63594] trunk/dports/sysutils/exec-wrapper
ryandesign at macports.org
ryandesign at macports.org
Tue Feb 9 17:12:53 PST 2010
Revision: 63594
http://trac.macports.org/changeset/63594
Author: ryandesign at macports.org
Date: 2010-02-09 17:12:49 -0800 (Tue, 09 Feb 2010)
Log Message:
-----------
exec-wrapper: Mac OS X doesn't have "seq"; use coreutils' "gseq"
Modified Paths:
--------------
trunk/dports/sysutils/exec-wrapper/Portfile
trunk/dports/sysutils/exec-wrapper/files/patch-exec-wrapper.in.diff
Modified: trunk/dports/sysutils/exec-wrapper/Portfile
===================================================================
--- trunk/dports/sysutils/exec-wrapper/Portfile 2010-02-09 23:55:08 UTC (rev 63593)
+++ trunk/dports/sysutils/exec-wrapper/Portfile 2010-02-10 01:12:49 UTC (rev 63594)
@@ -4,7 +4,7 @@
name exec-wrapper
version 1.0.1
-revision 1
+revision 2
categories sysutils
platforms darwin
maintainers ryandesign
@@ -22,6 +22,8 @@
sha1 6007929d97f81ed5e3f4d46f0a8171e2ca5e73d3 \
rmd160 3fde4518e7907cac1147b8bc1404243426c871c6
+depends_run path:bin/gseq:coreutils
+
patchfiles patch-exec-wrapper.in.diff
use_configure no
Modified: trunk/dports/sysutils/exec-wrapper/files/patch-exec-wrapper.in.diff
===================================================================
--- trunk/dports/sysutils/exec-wrapper/files/patch-exec-wrapper.in.diff 2010-02-09 23:55:08 UTC (rev 63593)
+++ trunk/dports/sysutils/exec-wrapper/files/patch-exec-wrapper.in.diff 2010-02-10 01:12:49 UTC (rev 63594)
@@ -1,5 +1,5 @@
--- exec-wrapper.in.orig 2009-05-24 22:03:21.000000000 -0500
-+++ exec-wrapper.in 2010-02-09 17:42:42.000000000 -0600
++++ exec-wrapper.in 2010-02-09 19:08:34.000000000 -0600
@@ -36,7 +36,7 @@
# stdout - escaped string.
strToOct()
@@ -9,3 +9,30 @@
sed "s/ *\([0-9]*\) */\\\\\1/g" | tr -d "\n"
}
+@@ -88,7 +88,7 @@
+ printf "\textern char **environ;\n"
+
+ # Set environment variables.
+- for i in $( seq $OPT_ENV_NUM ); do
++ for i in $( gseq $OPT_ENV_NUM ); do
+ printf "\tif (putenv(\""
+ eval strToOct \"\${OPT_ENV_$i}\"
+ printf "\"))\n"
+@@ -96,7 +96,7 @@
+ done
+
+ # Unset environment variables.
+- for i in $( seq $OPT_UENV_NUM ); do
++ for i in $( gseq $OPT_UENV_NUM ); do
+ printf "\tif (unsetenv(\""
+ eval strToOct \"\${OPT_UENV_$i}\"
+ printf "\"))\n"
+@@ -114,7 +114,7 @@
+
+ printf "\tnew_argv[0] = argv[0];\n"
+
+- for i in $( seq $OPT_ARG_NUM ); do
++ for i in $( gseq $OPT_ARG_NUM ); do
+ printf "\tnew_argv[%s] = \"" $i
+ eval strToOct \"\${OPT_ARG_$i}\"
+ printf "\";\n"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100209/08bea4a5/attachment.html>
More information about the macports-changes
mailing list