pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/firefox firefox: further explanations of compiler ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d8b0ae3a883e
branches:  trunk
changeset: 439252:d8b0ae3a883e
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Sep 15 09:40:08 2020 +0000

description:
firefox: further explanations of compiler clusterfudge

diffstat:

 www/firefox/mozilla-common.mk |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 716a5d71e5b3 -r d8b0ae3a883e www/firefox/mozilla-common.mk
--- a/www/firefox/mozilla-common.mk     Mon Sep 14 22:57:26 2020 +0000
+++ b/www/firefox/mozilla-common.mk     Tue Sep 15 09:40:08 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.179 2020/09/05 10:19:04 ryoon Exp $
+# $NetBSD: mozilla-common.mk,v 1.180 2020/09/15 09:40:08 nia Exp $
 #
 # common Makefile fragment for mozilla packages based on gecko 2.0.
 #
@@ -234,8 +234,13 @@
 .include "../../graphics/libwebp/buildlink3.mk"
 # Force the use of clang from pkgsrc, regardless of the setting of
 # PKGSRC_COMPILER.
-# \todo This breaks the use of ccache, which should be fixed, probably
-# by adding support for this kind of forcing to pkgsrc infrastructure.
+# When being compiled with GCC, Firefox will still need Clang for
+# some purposes (why?)
+# \todo pkgsrc cwrappers creates symlinks which make GCC pretend to be clang.
+# this conflicts with Firefox's clang dependency, so currently GCC
+# cannot be used to build Firefox.
+# http://mail-index.netbsd.org/tech-pkg/2020/09/09/msg023783.html
+# \todo This breaks the use of ccache, which should be fixed
 PKG_CC=                ${PREFIX}/bin/clang
 PKG_CXX=       ${PREFIX}/bin/clang++
 BUILDLINK_DEPMETHOD.clang=     build



Home | Main Index | Thread Index | Old Index