From owner-freebsd-hackers Tue May 28 12:58:49 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 88DCA37B400; Tue, 28 May 2002 12:58:44 -0700 (PDT) Received: from pool0281.cvx40-bradley.dialup.earthlink.net ([216.244.43.26] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17Cn6v-00073t-00; Tue, 28 May 2002 12:58:27 -0700 Message-ID: <3CF3E141.DD50721E@mindspring.com> Date: Tue, 28 May 2002 12:57:53 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "S.B." Cc: freebsd-ports@FreeBSD.ORG, freebsd-hackers@FreeBSD.org Subject: Re: NewBie Needs HELP please !! References: <011a01c2066c$5c7c9ba0$46ad1fd0@mlode.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "S.B." wrote: > > Part 1.1 Type: Plain Text (text/plain) > Encoding: quoted-printable I'll help: 1) Questions should be sent to the "-questions" mailing list 2) Don't send HTML to mailing lists 3) Don't send MIME to mailing lists, even if it's only something that contains a text/plain: most people will not open your attachment, since most people are not morons 4) getopt_long is a GNU getopt thing to allow you to use "GNU long options", as opposed to single character options; thus you need to make the port depend on the GNU getopt port, OR you need to patch it to not use long options if it does not detect "getopt_long". If you want to use option 4(b), here is the code you need to add to your patch: http://mail.gnu.org/pipermail/autoconf/2000-December/009171.html (Note that this problem has been hanging out for a year and a half now). My personal preference is 4(b), but I suspect that getopt_long was added not to "prettify" the option names, but to add more options to the program than God had available when creating the universe. 8-(. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message