Translations:Handbook:Parts/Installation/Base/143/en
From Gentoo Wiki
Portage uses the ACCEPT_LICENSE variable to determine which packages to allow without prompting the user for the licenses previously accepted. Exceptions can be made per-package in /etc/portage/package.license as well.