From owner-freebsd-ports Wed Nov 11 06:45:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA21328 for freebsd-ports-outgoing; Wed, 11 Nov 1998 06:45:33 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from hp9000.chc-chimes.com (hp9000.chc-chimes.com [206.67.97.84]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA21320 for ; Wed, 11 Nov 1998 06:45:29 -0800 (PST) (envelope-from billf@chc-chimes.com) Received: from localhost by hp9000.chc-chimes.com with SMTP (1.39.111.2/16.2) id AA004005316; Wed, 11 Nov 1998 09:41:56 -0500 Date: Wed, 11 Nov 1998 09:41:56 -0500 (EST) From: Bill Fumerola To: Dom Mitchell Cc: ports@FreeBSD.ORG Subject: Re: GNU getopt In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 , > 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 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