[Bug 192685] www/chromium 36.0.1985.143 fails to build on 10-stable

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 17 15:54:10 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192685

--- Comment #6 from Carlos Jacobo Puga Medina <cpm at fbsd.es> ---
Use the following patch to build chromium with GCC:

--- Makefile.orig    2014-08-17 17:50:49.000000000 +0200
+++ Makefile    2014-08-17 17:52:32.000000000 +0200
@@ -60,6 +60,7 @@
         perl5 shebangfix ninja tar:xz python:2,build execinfo
 CPE_VENDOR=    google
 CPE_PRODUCT=    chrome
+USE_GCC=    4.7
 USE_PERL5=    build
 USE_XORG=    scrnsaverproto x11 xproto xscrnsaver xtst
 USE_GNOME=    glib20 gtk20 dconf libxslt
@@ -192,6 +193,10 @@

 .include <bsd.port.pre.mk>

+CHOSEN_COMPILER_TYPE=    gcc
+COMPILER_TYPE=    gcc
+COMPILER_VERSION=    47
+
 .if ${CHOSEN_COMPILER_TYPE} == gcc
 GYP_DEFINES+=    gcc_version=${CXX:S/g++//}
 CFLAGS+=    -Wno-unknown-warning

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-chromium mailing list