Created attachment 500000 [details, diff] lame-3.99.5-remove_gtk.patch If GTK+ is not installed, media-sound/lame-3.99.5-r1 fails in the autoconf step because it unconditionally checks for GTK+ version: configure.in:394: error: possibly undefined macro: AM_PATH_GTK If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. Additionally, the current ebuild already patches some GTK+ stuff (lame-3.98-gtk-path.patch), but AFAIK lame only supports GTK+1, which is abandoned upstream and removed from Portage. I suggest removing lame-3.98-gtk-path.patch and removing the GTK+ obsolete check from autoconf. That worked to fix the autoconf error in my case. Related: #168123
Created attachment 500002 [details] lame-3.99.5-r2.ebuild ebuild with the patch to remove GTK+
still valid with lame-3.100-r1.ebuild?
(In reply to Pacho Ramos from comment #2) > still valid with lame-3.100-r1.ebuild? Seems fixed in that version. I just tried to merge it in a system without GTK+ and it's no longer throwing that error.
Thanks