NetBSD
Compiling Wine on NetBSD 5.0:
pkg_add:
- scmgit-base
- flex
- bison
- freetype2
- autoconf
- libgpg-error
- libgcrypt
- jpeg
- png
- libxml2
- libxslt
- gphoto2
- sane-backends
- cups
- gsm
You'll be missing mpg123, openal, hal/dbus, and gnutls. Those all have packages available, but are too old, or otherwise aren't working for wine. Also missing is v4l and capi, but those are Linux specific.
And to build:
CFLAGS="-O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/X11R6/include" \ CPPFLAGS="-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/X11R6/include" \ LDFLAGS="-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib" \ FLEX=/usr/pkg/bin/flex \ ./configure --without-mpg123 --without-openal --without-hal --without-gnutls --without-capi --without-v4l && make depend && make
The build currently fails, with:
austin987$ make LD_LIBRARY_PATH="../../libs/wine:$LD_LIBRARY_PATH" ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_ADVAPI32_ -foversion.res version.rc execname not specified in AUX vector: No such file or directory *** Error code 1
See http://bugs.winehq.org/show_bug.cgi?id=20907 and http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=42420
