Esetleg nézd meg az adott program gentoo-féle ebuild-jét, abból könnyen csinálhatsz (opció-függő) listát :)