A new version (0.4.3) of media-libs/allegrogl has been released. Renaming the 0.4.2 ebuild is sufficient :)
in portage. thanks for the bug report.