From owner-freebsd-ports@FreeBSD.ORG Fri Feb 1 11:10:18 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A379E97B for ; Fri, 1 Feb 2013 11:10:18 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 8C5DBD27 for ; Fri, 1 Feb 2013 11:10:18 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1U1EVY-0008Uu-Cy for freebsd-ports@freebsd.org; Fri, 01 Feb 2013 03:10:12 -0800 Date: Fri, 1 Feb 2013 03:10:12 -0800 (PST) From: Beeblebrox To: freebsd-ports@freebsd.org Message-ID: <1359717012393-5782884.post@n5.nabble.com> Subject: GNU style getopt problem MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2013 11:10:18 -0000 I am trying to get a "linux" app to compile in the native FreeBSD environment. I have solved most of the problems, except one: getopt. I have installed misc/getopt because compile-check asks for Build dependency: Please install GNU getopt However, the problem persists because the depends-check script checks for and as answer gets: $ getopt --help 2 > &1 | grep long > /dev/null Ambiguous output redirect. But if I do an "arrow up" to get to the previous command I see this, where it's "& 1" not "&1" $ getopt --help 2 > & 1 | grep long > /dev/null Should I be trying a different port? -- View this message in context: http://freebsd.1045724.n5.nabble.com/GNU-style-getopt-problem-tp5782884.html Sent from the freebsd-ports mailing list archive at Nabble.com.