pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/firefox firefox: Fix build



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05478e5aef6a
branches:  trunk
changeset: 441821:05478e5aef6a
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Wed Nov 11 15:30:46 2020 +0000

description:
firefox: Fix build

mk/endian.mk includes mk/compiler.mk and PKG_CC and PKG_CXX were
effective.
Now mk/endian.mk has been removed and include mk/compiler.mk
explicitly to use clang only.

Reported by martin@ on tech-pkg@.

diffstat:

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

diffs (18 lines):

diff -r e70e294fe43f -r 05478e5aef6a www/firefox/mozilla-common.mk
--- a/www/firefox/mozilla-common.mk     Wed Nov 11 14:39:44 2020 +0000
+++ b/www/firefox/mozilla-common.mk     Wed Nov 11 15:30:46 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.183 2020/11/11 10:11:21 nia Exp $
+# $NetBSD: mozilla-common.mk,v 1.184 2020/11/11 15:30:46 ryoon Exp $
 #
 # common Makefile fragment for mozilla packages based on gecko 2.0.
 #
@@ -22,6 +22,8 @@
 USE_TOOLS+=            pkg-config perl gmake autoconf213 gm4 unzip zip
 UNLIMIT_RESOURCES+=    datasize virtualsize
 
+.include "../../mk/compiler.mk"
+
 # firefox needs a compiler that supports gnu++14 and gnu++17.
 # However, passing --std=gnu++17 (from wrappers, as a result of
 # USE_LANGUAGES), results in problems for some Rust modules (as of



Home | Main Index | Thread Index | Old Index