The pkgsrc's scsl-jdk seems to take into consideration only netbsd host, how could it possibly work? For building, I modified fairly recent (then) freebsd port, not "ancient" (what did you mean by that?). I believe I've included those modifications in the binary attached to those message, too.