From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 12 17:10:26 2008 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 678DD106566C for ; Fri, 12 Sep 2008 17:10:26 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id E18918FC14 for ; Fri, 12 Sep 2008 17:10:25 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1KeCA7-0007Tw-In for freebsd-ports-bugs@FreeBSD.org; Fri, 12 Sep 2008 21:10:27 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 08B4C11E3E for ; Fri, 12 Sep 2008 21:10:37 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id D5B5817031; Fri, 12 Sep 2008 21:10:18 +0400 (MSD) Date: Fri, 12 Sep 2008 21:10:18 +0400 From: Dmitry Marakasov To: freebsd-ports-bugs@FreeBSD.org Message-ID: <20080912171018.GC65683@hades.panopticon> References: <200809121633.m8CGXhuc086197@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <200809121633.m8CGXhuc086197@freefall.freebsd.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: Re: ports/100771: port submit (ports-mgmt/porttools) cannot parse multiple options X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2008 17:10:26 -0000 > Synopsis: port submit (ports-mgmt/porttools) cannot parse multiple options > > http://www.freebsd.org/cgi/query-pr.cgi?pr=100771 Sorry for the delay :)) Does the patch attached work for you? --- porttools.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/ports-mgmt/porttools/Makefile,v retrieving revision 1.21 diff -u -r1.21 Makefile --- Makefile 27 Jul 2008 07:40:01 -0000 1.21 +++ Makefile 12 Sep 2008 17:09:51 -0000 @@ -7,7 +7,7 @@ PORTNAME= porttools PORTVERSION= 0.77 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= ports-mgmt MASTER_SITES= SF Index: files/patch-arguments-parsing =================================================================== RCS file: files/patch-arguments-parsing diff -N files/patch-arguments-parsing --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-arguments-parsing 12 Sep 2008 17:09:51 -0000 @@ -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) --- porttools.patch ends here --- -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru