As the title, the config specifies `cheat', but current ebuilds issue the keepdir command on `cheats'. As an example, the v0.167 ebuild can be modified like --- sdlmame-0.167.ebuild 2015-11-27 03:01:02.000000000 +0800 +++ sdlmame-0.167.ebuild 2015-11-28 00:06:04.972551810 +0800 @@ -203,8 +203,8 @@ dodoc docs/{config,mame,newvideo}.txt keepdir \ - "${GAMES_DATADIR}/${PN}"/{ctrlr,cheats,roms,samples,artwork,crosshair} \ - "${GAMES_SYSCONFDIR}/${PN}"/{ctrlr,cheats} + "${GAMES_DATADIR}/${PN}"/{ctrlr,cheat,roms,samples,artwork,crosshair} \ + "${GAMES_SYSCONFDIR}/${PN}"/{ctrlr,cheat} if use tools ; then for f in castool chdman floptool imgtool jedutil ldresample ldverify romcmp testkeys ; do
In addition, `commit_directory' should be `comment_directory': --- sdlmame-0.167.ebuild 2015-11-27 03:01:02.000000000 +0800 +++ sdlmame-0.167.ebuild 2015-11-28 00:24:06.707125497 +0800 @@ -181,7 +181,7 @@ "${T}/mame.ini" || die done # -- Directories - for f in {cfg,nvram,memcard,input,state,snapshot,diff,commit} ; do + for f in {cfg,nvram,memcard,input,state,snapshot,diff,comment} ; do sed -i \ -e "s:\(${f}_directory\)[ \t]*\(.*\):\1 \t\t\$HOME/.${PN}/\2:" \ "${T}/mame.ini" || die
good spotting. fixed in portage.