One of the most annoying things of sdlmame is the gconf dependency. If one builds it without debugging support, not only this dependency is unneeeded, but also the gtk+ dependency can be dropped. Therefore, it would be nice to have a USE-flag for it. I attach a corresponding patch for the ebuild and for a makefile.
Created attachment 243371 [details, diff] Patch for IUSE="+debug" in the ebuild
Created attachment 243373 [details, diff] Patch for the makefile; needed by the new ebuild in files/nodebug.patch
general comments: - keep IUSE sorted - no need for the einfo: use debug && epatch - patches should start with ${P}- the patch looks useful and could be sent upstream ...
in portage. thanks for the bug report and patch.