Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Nov 1998 09:41:56 -0500 (EST)
From:      Bill Fumerola <billf@chc-chimes.com>
To:        Dom Mitchell <dom@phmit.demon.co.uk>
Cc:        ports@FreeBSD.ORG
Subject:   Re: GNU getopt
Message-ID:  <Pine.HPP.3.96.981111093940.29395C-100000@hp9000.chc-chimes.com>
In-Reply-To: <E0zdYUE-000763-00@voodoo.pandhm.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 11 Nov 1998, Dom Mitchell wrote:

> Is there a standard way to include GNU getopt with a port?  I'm trying
> to port npadmin <URL:http://www.penguincomputing.com/prtools/npadmin.html>,
> but it needs getopt_long.  The easiest way I can think of is to snarf a
> copy from (say) /usr/src/contrib/cpio, but that's certainly not
> guaranteed to work...

I have long agonized over this. The easiest way to do it would be just to
put getopt.h in the ports files directory, but I've seen
inconsistencies<sp!> with the Linux getopt_long(which from the word
penguin above, I'm assuming it wants) and the FreeBSD getopt* stuff.

- bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp -
- ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org  -




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.HPP.3.96.981111093940.29395C-100000>