GNU style getopt problem

Beeblebrox zaphod at berentweb.com
Fri Feb 1 11:10:18 UTC 2013


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.


More information about the freebsd-ports mailing list