--- firefox-24.2.0-old.ebuild 2014-01-29 16:31:35.140057988 +1300 +++ firefox-24.2.0.ebuild 2014-01-29 16:33:18.390077233 +1300 @@ -148,6 +148,9 @@ EPATCH_FORCE="yes" \ epatch "${WORKDIR}/firefox" + # Fix missing build options + epatch "${FILESDIR}/Makefile-pgo.patch + # Allow user to apply any additional patches without modifing ebuild epatch_user @@ -232,7 +235,7 @@ # Allow for a proper pgo build if use pgo; then - echo "mk_add_options PROFILE_GEN_SCRIPT='\$(PYTHON) \$(OBJDIR)/_profile/pgo/profileserver.py'" >> "${S}"/.mozconfig + echo "mk_add_options PROFILE_GEN_SCRIPT='EXTRA_TEST_ARGS=10 \$(MAKE) -C \$(MOZ_OBJDIR) pgo-profile-run'" >> "${S}"/.mozconfig fi # Finalize and report settings