Exclude PKGREVISION from PLIST generation, fixes part of PR#47946.
Avoid "call of overloaded 'log(int)' is ambiguous" errors.

Fixes build on SunOS/GCC.