Add -lnsl on SunOS.  Fix from Thomas Merkel.
Fix PLIST for pgsql option.
Update to 0.4.5. From csosstudy in PR 48336.

* Version 0.4.5
 - Restore compatibility with OSX <= 10.6

* Version 0.4.4
 - Visual Studio is officially supported (VC 2010 & VC 2013)
 - mingw64 is now supported
 - big-endian architectures are now supported as well
 - The donna_c64 implementation of curve25519_donna_c64 now handles
non-canonical points like the ref implementation
 - Missing scalarmult_curve25519 and stream_salsa20 constants are now exported
 - A crypto_onetimeauth_poly1305_ref() wrapper has been added
Updated security/libsodium to 0.4.5
Add -lsocket -lnsl on SunOS.  Fix from Sebastian Wiedenroth.
Import gengetopt-2.22.6 as devel/gengetopt.

This program generates a C function that uses getopt_long function
to parse the command line options, to validate them and fills a
struct .

Thus your program can now handle options such as:

myprog --input foo.c -o foo.o --no-tabs -i 100 *.class

And both long options (those that start with --) and short options
(start with - and consist of only one character) can be handled.

Gengetopt can also generate a function to save the command line
options into a file, and a function to read the command line options
from a file. Of course, these two kinds of files are compliant.
+ gengetopt
Added devel/gengetopt version 2.22.6
pkg_add doesn't like '>'; use '>=' instead, since that's what I think
was intended here anyway.
Changes 0.6:
fix use of -L (lowercase) option with -d
Updated archivers/unshield to 0.6
Fix building on OS X 10.9