--- mp3info-0.8.5a-r1.ebuild 2013-04-03 13:09:39.273107015 +0100 +++ mp3info-0.8.5a.ebuild 2013-04-03 13:09:14.163293105 +0100 @@ -21,6 +21,7 @@ src_prepare() { epatch "${FILESDIR}/${P}-ldflags.patch" + sed -i "s/LIBS = -lncurses/LIBS = $(pkg-config --libs ncurses)/g" Makefile } src_compile() {