While attempting to fix some cache problems in portage I came across an error in playmidi-2.5.ebuild The following: CFLAGS="${CFLAGS} `/usr/bin/gtk-config --cflags`" on line 26 should be removed as it is done in an if [ `use gtk` ] 8 lines lower.
Fixed in CVS. Thanks for the bug report.