[pacman-dev] [PATCH] makepkg : switch from getopt to getopts builtin

Xavier shiningxc at gmail.com
Tue Jun 3 04:45:21 EDT 2008


On Mon, Jun 2, 2008 at 5:11 PM, Alessio Bolognino <themolok.ml at gmail.com> 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.




More information about the pacman-dev mailing list