There were two problems building openMSX on NetBSD:
1) The was a name conflict with the funcion bswap16. This only appeared
on one file, so the function was prefixed with msx_ to solve it.
2) freetype-config is not located on $PREFIX on NetBSD with native X11.
Normally the wrappers abstract this but openmsx was making assumptions
and using absolute paths. The solution was to set the distroRoot
value to "None" which tells the configure process to not use a path
and those finds freetype-configure through the search path.
I compiled it, installed it, and executed openMSX with these patches.
Several files needed the <cstring> include for functions like memset.
Additional, Tinderbox caught this error:
=== Checking filesystem state after all packages deleted
================================================================
list of extra files and directories in / (not present on clean system
but present after everything was deinstalled)
34217227226 0 lrwxr-xr-x 1 root wheel 65 Aug 12 00:13
usr/local/bin/openmsx ->
/work/emulators/openmsx/work/.destdir/usr/pkg/openmsx/bin/openmsx
The package was installing a symbolic link from /usr/local/bin to the
destdir! Luckily this feature is switchable with a variable. Fixed.
on irc.
This version includes video recording, more realistic PSG and SCC
sound, significant optimizations, easier to use game trainers, as well
as a lot of other improvements and bugfixes.
Changes:
* New! sound logger
* New! disk manipulator toolkit; transfer files from the host OS to
the MSX disks (disk images and hard disk images with partitions are
all supported) and vice versa, create new (hard) disk images and
format them, etc.
* Bugfixes, new ROM images, etc.
openMSX, the open source MSX emulator that tries to achieve near-perfect
emulation by using a novel emulation model.
Hardware emulated:
o almost all MSX systems, except for some details.
o Different CPU clock speeds, including those for the Panasonic
MSX2+ machines.
o Almost all known cartridge mapper types via autodetection or the
included ROM database.
o Many MSX storage (disk/SRAM) systems.
o kanji JIS ROM 1 and 2.
o Mouse and joystick (with option to use the keyboard as joystick).
o rensha turbo auto fire support.
And more!
--
http://openmsx.sf.net/