diff options
author | pho <pho@pkgsrc.org> | 2014-05-28 04:34:52 +0000 |
---|---|---|
committer | pho <pho@pkgsrc.org> | 2014-05-28 04:34:52 +0000 |
commit | cd2774606744a208e499d6a03f0eb8922d5a3c83 (patch) | |
tree | f6e905217eee6e6bd479ced87b3d06f50cc94f99 | |
parent | 8c58ebb018bd9961d007f9535b5e09bc321b29d3 (diff) | |
download | pkgsrc-cd2774606744a208e499d6a03f0eb8922d5a3c83.tar.gz |
PR pkg/48840: Do not reject GCC on Darwin
It's true Clang is required if we use the cocoa toolkit, but we don't
do that anyway. GCC is perfectly working as long as we use cairo-gtk2.
-rw-r--r-- | www/firefox/distinfo | 3 | ||||
-rw-r--r-- | www/firefox/patches/patch-build_autoconf_compiler-opts.m4 | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/www/firefox/distinfo b/www/firefox/distinfo index da97c7cd401..1a685ce6569 100644 --- a/www/firefox/distinfo +++ b/www/firefox/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.143 2014/05/27 09:58:51 joerg Exp $ +$NetBSD: distinfo,v 1.144 2014/05/28 04:34:52 pho Exp $ SHA1 (firefox-29.0.1.source.tar.bz2) = 2819ef63403de2bcfff5496bd21a3b8cb5dfce82 RMD160 (firefox-29.0.1.source.tar.bz2) = f728179a12a46824971ca01cf79eb0318e4775c5 @@ -17,6 +17,7 @@ SHA1 (patch-browser_installer_package-manifest.in) = d5792a3c5dd7498d24ac0426aac SHA1 (patch-browser_locales_en-US_chrome_browser-region_region.properties) = 284d62596718d7f372c4e5214fd05adec043c93a SHA1 (patch-browser_locales_en-US_searchplugins_duckduckgo.xml) = 69eca52185ac868e95041b5d87611ee32c2b6330 SHA1 (patch-browser_locales_en-US_searchplugins_list.txt) = a6677b3a195b6c956858326e4e7474441823a47f +SHA1 (patch-build_autoconf_compiler-opts.m4) = ccdc06a2b07b7664f9cb91bcc4fb29052dda8b07 SHA1 (patch-build_autoconf_nss.m4) = bf65db126705a3a1ba294418b9380683ea401fc7 SHA1 (patch-build_gyp.mozbuild) = 2842da0783d344dd12e86adde447f7cda6191518 SHA1 (patch-build_pgo_profileserver.py) = 8666187258e47c037f2065a19a5b38946fdc0f6c diff --git a/www/firefox/patches/patch-build_autoconf_compiler-opts.m4 b/www/firefox/patches/patch-build_autoconf_compiler-opts.m4 new file mode 100644 index 00000000000..05683e62cfa --- /dev/null +++ b/www/firefox/patches/patch-build_autoconf_compiler-opts.m4 @@ -0,0 +1,22 @@ +$NetBSD: patch-build_autoconf_compiler-opts.m4,v 1.1 2014/05/28 04:34:52 pho Exp $ + +It's true Clang is required if we use the cocoa toolkit, but we don't +do that anyway. GCC is perfectly working as long as we use cairo-gtk2. + +--- build/autoconf/compiler-opts.m4.orig 2014-05-06 22:55:14.000000000 +0000 ++++ build/autoconf/compiler-opts.m4 +@@ -53,14 +53,6 @@ case "$target" in + if test -z "$CXX"; then + MOZ_PATH_PROGS(CXX, clang++) + fi +- IS_GCC=$($CC -v 2>&1 | grep gcc) +- if test -n "$IS_GCC" +- then +- echo gcc is known to be broken on OS X, please use clang. +- echo see http://developer.mozilla.org/en-US/docs/Developer_Guide/Build_Instructions/Mac_OS_X_Prerequisites +- echo for more information. +- exit 1 +- fi + ;; + esac + fi |