This is an 'addendum' to my previous i386 buildnotes to cover the building of openjdk7 on 64bit DragonFly. - 1.6 required a hack to the pkgsrc 'gcc' wrapper to -I the correct directory for freetype (workdir-include/freetype iirc) as freetype's include itself is mulitplexed between 1 and 2, and so has another level of nesting not matched in '-I' - basically, to fix: - bmake configure - hack gcc wrapper to -I correct directory - bmake - if you see bad errors w/r/t freetype, ensure directory is correct, remove related $WORKDIR dotfiles newer than the configure one to fool pkgsrc into resuming the build, and repeat - from there, pkg_alternatives didn't work for the 1.6jdk package so - review the configuration for 1.5 when enabled, and clone (IIRC this basically required making some symlinks .. pkg_alternatives default jdk1.5, ls -l /usr/pkg/ looking for symlinks should do it - etc.) - x64 build required hacking hotspot/make/bsd/makefiles/defs.make.orig to understand 'x86_64' as a `uname -m` output rather than amd64.