summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-build_config_BUILD.gn
diff options
context:
space:
mode:
authorCarlos J. Puga Medina <cpm@FreeBSD.org>2017-04-29 23:00:33 +0000
committerCarlos J. Puga Medina <cpm@FreeBSD.org>2017-04-29 23:00:33 +0000
commit633f9296f4a9a6d9f4988a62658038fdd8c8cc4f (patch)
tree2f4294c7dbe2c6fd14de23902212e77c6a108530 /www/iridium/files/patch-build_config_BUILD.gn
parentwww/chromium: update to 58.0.3029.81 (diff)
Add new port www/iridium
Iridium is a free, open, and libre browser modification of the Chromium code base, with privacy being enhanced in several key areas. Automatic transmission of partial queries, keywords, metrics to central services is inhibited and only occurs with consent. WWW: https://iridiumbrowser.de/
Notes
Notes: svn path=/head/; revision=439777
Diffstat (limited to 'www/iridium/files/patch-build_config_BUILD.gn')
-rw-r--r--www/iridium/files/patch-build_config_BUILD.gn29
1 files changed, 29 insertions, 0 deletions
diff --git a/www/iridium/files/patch-build_config_BUILD.gn b/www/iridium/files/patch-build_config_BUILD.gn
new file mode 100644
index 000000000000..2f85025c9f8b
--- /dev/null
+++ b/www/iridium/files/patch-build_config_BUILD.gn
@@ -0,0 +1,29 @@
+--- build/config/BUILD.gn.orig 2017-04-19 19:06:28 UTC
++++ build/config/BUILD.gn
+@@ -193,7 +193,7 @@ config("debug") {
+ # builds, and we have to tell it to turn it off.
+ defines += [ "_HAS_ITERATOR_DEBUGGING=0" ]
+ }
+- } else if (is_linux && current_cpu == "x64" && enable_iterator_debugging) {
++ } else if ((is_linux || is_bsd) && current_cpu == "x64" && enable_iterator_debugging) {
+ # Enable libstdc++ debugging facilities to help catch problems early, see
+ # http://crbug.com/65151 .
+ # TODO(phajdan.jr): Should we enable this for all of POSIX?
+@@ -276,7 +276,7 @@ config("default_libs") {
+ "CoreText.framework",
+ "Foundation.framework",
+ ]
+- } else if (is_linux) {
++ } else if (is_linux && !is_bsd) {
+ libs = [
+ "dl",
+ "rt",
+@@ -307,7 +307,7 @@ config("executable_config") {
+ ]
+ } else if (is_ios) {
+ configs += [ "//build/config/ios:ios_dynamic_flags" ]
+- } else if (is_linux || is_android) {
++ } else if (is_linux || is_android || is_bsd) {
+ configs += [ "//build/config/gcc:executable_ldconfig" ]
+ if (is_android) {
+ configs += [ "//build/config/android:executable_config" ]