On Tue 2008-06-03 10:45, Xavier wrote: > On Mon, Jun 2, 2008 at 5:11 PM, Alessio Bolognino <[EMAIL PROTECTED]> wrote: > > > > Maybe dropping all long options is not a great idea: makepkg has a lot > > of options and find an alphanumeric character for each is not that > > easy/intuitive; Furthermore getopt is ported virtually everywhere: Mac > > OS X, FreeBSD, OpenBSD, NetBSD etc. and stuff like asciidoc > > depends upon it. > > > > The reason of that patch is that the different getopt implementations > are not compatible : > http://www.archlinux.org/pipermail/pacman-dev/2008-May/011857.html > The arguments parsing currently does not work on osx / bsd.
Actually FreeBSD and NetBSD have in their port tree "getopt", which is this one: http://software.frodo.looijaard.name/getopt/ as you can see, is the same getopt in util-linux; in OpenBSD's tree is called gnugetopt, but it's still the same software. In Mac OS X it can be installed with macports, and it's called "getopt". -- Alessio (molok) Bolognino Please send personal email to [EMAIL PROTECTED] Public Key http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xFE0270FB GPG Key ID = 1024D / FE0270FB 2007-04-11 Key Fingerprint = 9AF8 9011 F271 450D 59CF 2D7D 96C9 8F2A FE02 70FB
pgpZLyWEls5rH.pgp
Description: PGP signature
_______________________________________________ pacman-dev mailing list [email protected] http://archlinux.org/mailman/listinfo/pacman-dev
