* turn on USE_NEWGCC.
* don't use mkdirhier (to avoid implicit BUILD_DEPENDS on XFree86)
* define ONLY_FOR_ARCHS=i386.
* tweak do-install rules.
* revise some patch for the socklen_t issue.
* fit library file names in the ELF world to enable making package on -STABLE and -CURRENT.
PR: 168006
Submitted by: OKAZAKI Tetsurou <okazaki@be.to>
to make this compile again. I never quite understood the "#elif"
syntax and now I think I never will.
By the way, this is just a patch-up to DavidO's "stab in the dark" and
is not guaranteed to work on NetBSD and/or OpenBSD. I just "fixed" it
in the way that it doesn't break FreeBSD while preserving the spirit
of his changes (i.e., to "stab" whatever he was aiming at).