This patch adds ncurses as a dependancy and adds --with-ncurses to ${myconf} should ncurses be enabled in /etc/make.conf. ncurses support takes precedence over slang support. added: use samba && myconf="${myconf} --with-samba" and removed the one in "use samba && (" because it wasn't being set (it was out of scope). remove LDFLAGS="-lcrypt -lncurses" from configure line.
Created attachment 3241 [details, diff] patch to add ncurses to midnight commander ebuild & fix samba support.
I applied your patch, thanx alot for the help. Naz