FreeBSD Bugzilla – Attachment 94150 Details for
Bug 132231
[PATCH] www/firefox3: Add option to build with Profile-Guided Optimization
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
firefox-3.0.6,1.patch
firefox-3.0.6,1.patch (text/plain), 1.69 KB, created by
Mario Sergio Fujikawa Ferreira
on 2009-03-01 20:00:05 UTC
(
hide
)
Description:
firefox-3.0.6,1.patch
Filename:
MIME Type:
Creator:
Mario Sergio Fujikawa Ferreira
Created:
2009-03-01 20:00:05 UTC
Size:
1.69 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/pcvs/ports/www/firefox3/Makefile,v >retrieving revision 1.12 >diff -d -u -u -r1.12 Makefile >--- Makefile 11 Feb 2009 14:48:35 -0000 1.12 >+++ Makefile 1 Mar 2009 19:57:43 -0000 >@@ -53,6 +53,7 @@ > > OPTIONS= DBUS "Enable D-BUS support" on \ > NEWTAB "Open external links in a new tab" on \ >+ PGO "Enable Profile-Guided Optimization" off \ > SMB "Enable smb:// URI support using gnomevfs" off > > .include <bsd.port.pre.mk> >@@ -72,6 +73,14 @@ > LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib > .endif > >+.if defined(WITH_PGO) >+USE_PYTHON_BUILD= yes >+.include "${PORTSDIR}/Mk/bsd.python.mk" >+ >+MAKEFILE=client.mk >+ALL_TARGET=profiledbuild >+.endif >+ > .if ${ARCH} == "sparc64" > BROKEN= Does not compile on sparc64 > .endif >@@ -100,6 +109,13 @@ > ${LN} -s xptcinvoke_asm_sparc64_openbsd.s xptcinvoke_asm_sparc64_freebsd.s) > .endif > >+pre-build: >+.if defined(WITH_PGO) >+ @${SED} -e 's|@PYTHON@|${PYTHON_CMD}|' \ >+ <${FILESDIR}/mozconfig-profile_guided_optimization.in \ >+ >> ${BUILD_WRKSRC}/.mozconfig >+.endif >+ > port-pre-install: > # ${SED} -e 's|1.9a7|0|' ${WRKSRC}/dist/bin/application.ini ${FAKEDIR}/lib > ${ECHO_CMD} 'share/applications/${MOZILLA}.desktop' >> ${PLISTF} >Index: files/mozconfig-profile_guided_optimization.in >=================================================================== >RCS file: files/mozconfig-profile_guided_optimization.in >diff -N files/mozconfig-profile_guided_optimization.in >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/mozconfig-profile_guided_optimization.in 1 Mar 2009 19:57:43 -0000 >@@ -0,0 +1 @@ >+mk_add_options PROFILE_GEN_SCRIPT='@PYTHON@ $(OBJDIR)/_profile/pgo/profileserver.py'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 132231
: 94150 |
94151
|
94152
|
94153