Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2017 06:24:59 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r454669 - in head: Mk www/firefox
Message-ID:  <201711220624.vAM6OxFa014733@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Nov 22 06:24:59 2017
New Revision: 454669
URL: https://svnweb.freebsd.org/changeset/ports/454669

Log:
  gecko: drop broken and unmaintained PGO option
  
  Clang PGO isn't supported by the build system yet.
  https://bugzilla.mozilla.org/show_bug.cgi?id=1064049
  
  Reported by:	many
  PR:		221451

Modified:
  head/Mk/bsd.gecko.mk   (contents, props changed)
  head/www/firefox/Makefile.options   (contents, props changed)

Modified: head/Mk/bsd.gecko.mk
==============================================================================
--- head/Mk/bsd.gecko.mk	Wed Nov 22 06:24:49 2017	(r454668)
+++ head/Mk/bsd.gecko.mk	Wed Nov 22 06:24:59 2017	(r454669)
@@ -350,14 +350,6 @@ MOZ_OPTIONS+=	--enable-libproxy
 MOZ_OPTIONS+=	--disable-libproxy
 .endif
 
-.if ${PORT_OPTIONS:MPGO}
-USES:=		compiler:gcc-c++11-lib ${USES:Ncompiler*c++11*}
-USE_DISPLAY=yes
-
-ALL_TARGET=	profiledbuild
-MOZ_EXPORT+=MOZ_OPTIMIZE_FLAGS="-Os" MOZ_PGO_OPTIMIZE_FLAGS="${CFLAGS:M-O*}"
-.endif
-
 .if ${PORT_OPTIONS:MALSA}
 LIB_DEPENDS+=	libasound.so:audio/alsa-lib
 RUN_DEPENDS+=	${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins
@@ -495,22 +487,6 @@ MOZ_OPTIONS+=	--disable-v1-string-abi
 .endif
 
 .else # bsd.port.post.mk
-
-pre-extract: gecko-pre-extract
-
-gecko-pre-extract:
-.if ${PORT_OPTIONS:MPGO}
-	@${ECHO} "*****************************************************************"
-	@${ECHO} "**************************** attention **************************"
-	@${ECHO} "*****************************************************************"
-	@${ECHO} "To build ${MOZILLA} with PGO support you need a running X server and"
-	@${ECHO} "   build this port with an user who could access the X server!   "
-	@${ECHO} ""
-	@${ECHO} "During the build a ${MOZILLA} instance will start and run some test."
-	@${ECHO} "      Do not interrupt or close ${MOZILLA} during these tests!       "
-	@${ECHO} "*****************************************************************"
-	@sleep 10
-.endif
 
 post-patch: gecko-post-patch gecko-moz-pis-patch
 

Modified: head/www/firefox/Makefile.options
==============================================================================
--- head/www/firefox/Makefile.options	Wed Nov 22 06:24:49 2017	(r454668)
+++ head/www/firefox/Makefile.options	Wed Nov 22 06:24:59 2017	(r454669)
@@ -2,7 +2,7 @@
 
 OPTIONS_DEFINE+= 	BUNDLED_CAIRO CANBERRA DBUS DEBUG DTRACE FFMPEG GCONF \
 			GNOMEUI INTEGER_SAMPLES LIBPROXY \
-			OPTIMIZED_CFLAGS PGO PROFILE TEST
+			OPTIMIZED_CFLAGS PROFILE TEST
 
 OPTIONS_DEFAULT+=	DBUS DTRACE FFMPEG OPTIMIZED_CFLAGS PROFILE \
 			${OPTIONS_MULTI_AUDIO:NSNDIO} \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711220624.vAM6OxFa014733>