Sorry, I forgot to mention where I tested it: I tested on NetBSD-6.99.28/amd64 and NetBSD-6.99.28/i386; no problems. The patch also adds a patch for the new bin/polyc script which makes it link binaries with "-Wl,-rpath=xxx" as usually expected with pkgsrc.