Can you please have a look if virtual/awk is sufficient or if gawk is needed.
[replying to a random bug for which I happen to have received the mail] You know that gawk is in the system set, that bsd profiles had to alias awk to gawk in their profile.bashrc to provide gawk in ebuild environment, that most ebuilds will not even mark gawk as dependency while they might use it, and might even break with awk!=gawk (see bug #455436 or bug #202511 for examples). I really appreciate your efforts, but I don't think the dependency on gawk specified in some packages really matter (since those deps should just be removed) and you should rather run a tinderbox to identify what breaks with awk set as mawk or nawk instead.
configure allow gawk mawk nawk for awk, it is actually used in apspreview and aps2file, but only in posix-conform ways, so virtual/awk should be fine.
(In reply to comment #1) > You know that gawk is in the system set, that bsd profiles had to alias awk > to gawk in their profile.bashrc to provide gawk in ebuild environment, that > most ebuilds will not even mark gawk as dependency while they might use it, > and might even break with awk!=gawk (see bug #455436 or bug #202511 for > examples). I really appreciate your efforts, but I don't think the > dependency on gawk specified in some packages really matter (since those > deps should just be removed) and you should rather run a tinderbox to > identify what breaks with awk set as mawk or nawk instead. gawk deps in portage has been fixed (bug #456690) and autotools-wrappers are on my list. Running the tinderbox will follow in a bit.
+ 10 Mar 2013; Christoph Junghans <ottxor@gentoo.org> apsfilter-7.2.5.ebuild, + apsfilter-7.2.6.ebuild, apsfilter-7.2.7.ebuild, apsfilter-7.2.8.ebuild: + switch to virtual/awk (bug #455680) Let's see what else is there to port.