aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2008-09-23 13:36:17 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2008-09-23 13:36:17 +0000
commitdabcf362bbcc4ab5c2ba779fe39e59dea3dbe90c (patch)
tree2eb72593b5ba22ea4a594e52e0d52f698f99c420 /ports-mgmt
parentaa95ab6927d89ea298a29a7f99501289fea0cf7a (diff)
downloadports-dabcf362bbcc4ab5c2ba779fe39e59dea3dbe90c.tar.gz
ports-dabcf362bbcc4ab5c2ba779fe39e59dea3dbe90c.zip
Notes
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/porttools/Makefile2
-rw-r--r--ports-mgmt/porttools/files/patch-arguments-parsing90
2 files changed, 91 insertions, 1 deletions
diff --git a/ports-mgmt/porttools/Makefile b/ports-mgmt/porttools/Makefile
index b376e6d59bd8..71b6549b679d 100644
--- a/ports-mgmt/porttools/Makefile
+++ b/ports-mgmt/porttools/Makefile
@@ -7,7 +7,7 @@
PORTNAME= porttools
PORTVERSION= 0.77
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= ports-mgmt
MASTER_SITES= SF
diff --git a/ports-mgmt/porttools/files/patch-arguments-parsing b/ports-mgmt/porttools/files/patch-arguments-parsing
new file mode 100644
index 000000000000..63b94d8c4d69
--- /dev/null
+++ b/ports-mgmt/porttools/files/patch-arguments-parsing
@@ -0,0 +1,90 @@
+diff -ruN cmd_commit.in.orig cmd_commit.in
+--- cmd_commit.in.orig 2006-05-06 15:31:58.000000000 +0400
++++ cmd_commit.in 2008-09-12 21:02:21.000000000 +0400
+@@ -33,8 +33,9 @@
+ fi
+
+ set -- $ARGS
+-for i
+-do
++while [ x"" != x"--" -a x"" != x"" ]
++do
++ i=$1
+ case "$i" in
+ # help
+ -h)
+diff -ruN cmd_diff.in.orig cmd_diff.in
+--- cmd_diff.in.orig 2006-05-06 15:31:58.000000000 +0400
++++ cmd_diff.in 2008-09-12 21:02:21.000000000 +0400
+@@ -37,8 +37,9 @@
+ fi
+
+ set -- $ARGS
+-for i
+-do
++while [ x"" != x"--" -a x"" != x"" ]
++do
++ i=$1
+ case "$i" in
+ # help
+ -h)
+diff -ruN cmd_install.in.orig cmd_install.in
+--- cmd_install.in.orig 2006-05-06 15:31:58.000000000 +0400
++++ cmd_install.in 2008-09-12 21:02:21.000000000 +0400
+@@ -36,8 +36,9 @@
+ fi
+
+ set -- $ARGS
+-for i
+-do
++while [ x"" != x"--" -a x"" != x"" ]
++do
++ i=$1
+ case "$i" in
+ # help
+ -h)
+diff -ruN cmd_submit.in.orig cmd_submit.in
+--- cmd_submit.in.orig 2006-05-06 15:31:58.000000000 +0400
++++ cmd_submit.in 2008-09-12 21:02:21.000000000 +0400
+@@ -52,8 +52,9 @@
+ fi
+
+ set -- $ARGS
+-for i
+-do
++while [ x"" != x"--" -a x"" != x"" ]
++do
++ i=$1
+ case "$i" in
+ # help
+ -h)
+diff -ruN cmd_test.in.orig cmd_test.in
+--- cmd_test.in.orig 2006-05-06 15:31:58.000000000 +0400
++++ cmd_test.in 2008-09-12 21:02:21.000000000 +0400
+@@ -44,8 +44,9 @@
+ fi
+
+ set -- $ARGS
+-for i
+-do
++while [ x"" != x"--" -a x"" != x"" ]
++do
++ i=$1
+ case "$i" in
+ -h) # help
+ usage
+diff -ruN cmd_upgrade.in.orig cmd_upgrade.in
+--- cmd_upgrade.in.orig 2006-05-06 15:31:58.000000000 +0400
++++ cmd_upgrade.in 2008-09-12 21:02:21.000000000 +0400
+@@ -36,8 +36,9 @@
+ fi
+
+ set -- $ARGS
+-for i
+-do
++while [ x"" != x"--" -a x"" != x"" ]
++do
++ i=$1
+ case "$i" in
+ # help
+ -h)