From owner-freebsd-ports@FreeBSD.ORG Thu Feb 9 06:58:46 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B08716A422 for ; Thu, 9 Feb 2006 06:58:46 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.FreeBSD.org (Postfix) with SMTP id B1D3C43D48 for ; Thu, 9 Feb 2006 06:58:45 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 30934 invoked by uid 399); 9 Feb 2006 06:58:45 -0000 Received: from localhost (HELO ?192.168.1.102?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 9 Feb 2006 06:58:45 -0000 Message-ID: <43EAE825.6010207@FreeBSD.org> Date: Wed, 08 Feb 2006 22:58:45 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Doug Barton References: <43D610B6.5080008@FreeBSD.org> <43DE40FE.6000507@ebs.gr> <43DE6C65.9040306@FreeBSD.org> <43DE7652.9050807@ebs.gr> <43DF346B.407@FreeBSD.org> <43DF40BC.4060600@ebs.gr> <43E2B3A6.9060508@FreeBSD.org> <43E2B530.4050500@FreeBSD.org> <20060203065504.GA3857@weller-fahy.com> <43E31808.6070205@FreeBSD.org> <20060203111911.GA22446@hal.ebs.gr> <43E84A10.2050201@FreeBSD.org> <43E86940.7070302@ebs.gr> <43E9024F.3040703@FreeBSD.org> <43E90C24.2000908@ebs.gr> <43EAE7BA.7010403@FreeBSD.org> In-Reply-To: <43EAE7BA.7010403@FreeBSD.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org, Panagiotis Astithas Subject: Re: New /bin/sh based script to manage ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2006 06:58:46 -0000 Doug Barton wrote: > Panagiotis Astithas wrote: > >> That's what happenned in my attempt to 'portmaster -rdf expat'. > > Ok, I figured out what happened here. Turns out that our getopts routine is > picky about option ordering when one of the options is supposed to take an > argument. 'portmaster -df -r expat' works as expected (although as I pointed > out previously, -f and -r are probably not needed together). Sorry, I should have mentioned that I uploaded a new version with the Usage() fixed to reflect this issue. Doug -- This .signature sanitized for your protection