gnubg won't build in Leopard (OS X 10.5)
here is the result of my verbose installation attempt:
---> Fetching gnubg
---> Verifying checksum(s) for gnubg
---> Extracting gnubg
---> Applying patches to gnubg
---> Configuring gnubg
---> Building gnubg with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_gnubg/work/gnubg-0.14.3" && make all " returned error 2
Command output: powerpc-apple-darwin9-gcc-4.0.1: -lmx: linker input file unused because linking not done
source='set.c' object='set.o' libtool=no \
depfile='.deps/set.Po' tmpdepfile='.deps/set.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./lib -I/opt/local/include/libxml2 -I/opt/local/include -I./intl -DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DXTHREADS -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include -O2 -lmx -c `test -f 'set.c' || echo './'`set.c
powerpc-apple-darwin9-gcc-4.0.1: -lmx: linker input file unused because linking not done
source='show.c' object='show.o' libtool=no \
depfile='.deps/show.Po' tmpdepfile='.deps/show.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./lib -I/opt/local/include/libxml2 -I/opt/local/include -I./intl -DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DXTHREADS -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include -O2 -lmx -c `test -f 'show.c' || echo './'`show.c
powerpc-apple-darwin9-gcc-4.0.1: -lmx: linker input file unused because linking not done
source='database.c' object='database.o' libtool=no \
depfile='.deps/database.Po' tmpdepfile='.deps/database.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./lib -I/opt/local/include/libxml2 -I/opt/local/include -I./intl -DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DXTHREADS -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include -O2 -lmx -c `test -f 'database.c' || echo './'`database.c
powerpc-apple-darwin9-gcc-4.0.1: -lmx: linker input file unused because linking not done
source='dice.c' object='dice.o' libtool=no \
depfile='.deps/dice.Po' tmpdepfile='.deps/dice.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./lib -I/opt/local/include/libxml2 -I/opt/local/include -I./intl -DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DXTHREADS -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include -O2 -lmx -c `test -f 'dice.c' || echo './'`dice.c
powerpc-apple-darwin9-gcc-4.0.1: -lmx: linker input file unused because linking not done
source='rollout.c' object='rollout.o' libtool=no \
depfile='.deps/rollout.Po' tmpdepfile='.deps/rollout.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./lib -I/opt/local/include/libxml2 -I/opt/local/include -I./intl -DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DXTHREADS -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include -O2 -lmx -c `test -f 'rollout.c' || echo './'`rollout.c
rollout.c:222: error: static declaration of 'nSkip' follows non-static declaration
rollout.h:62: error: previous declaration of 'nSkip' was here
make[2]: *** [rollout.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Status 1 encountered during processing.
Fixed in r34582.