mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 23:20:30 -04:00
font handling. - Disabled WebRTC support because it does not work properly on BSD and more patches are needed. - Update pkg-plist - Bump PORTREVISION MFH: 2017Q1
96 lines
2.4 KiB
Text
96 lines
2.4 KiB
Text
--- net/BUILD.gn.orig 2017-02-02 02:02:56 UTC
|
|
+++ net/BUILD.gn
|
|
@@ -82,7 +82,7 @@ if (use_glib && use_gconf && !is_chromeo
|
|
net_configs += [ "//build/config/linux/gconf" ]
|
|
}
|
|
|
|
-if (is_linux) {
|
|
+if (is_linux && !is_bsd) {
|
|
net_configs += [ "//build/config/linux:libresolv" ]
|
|
}
|
|
|
|
@@ -153,6 +153,11 @@ component("net") {
|
|
]
|
|
if (is_android) {
|
|
sources -= [ "base/openssl_private_key_store_android.cc" ]
|
|
+ } else if (is_bsd) {
|
|
+ sources -= [
|
|
+ "base/address_tracker_linux.cc",
|
|
+ "base/address_tracker_linux.h",
|
|
+ ]
|
|
}
|
|
} else {
|
|
if (is_android) {
|
|
@@ -278,6 +283,14 @@ component("net") {
|
|
sources -= [ "disk_cache/blockfile/file_posix.cc" ]
|
|
}
|
|
|
|
+ if (is_bsd) {
|
|
+ sources -= [
|
|
+ "base/network_change_notifier_linux.cc",
|
|
+ "base/network_change_notifier_linux.h",
|
|
+ "base/network_interfaces_linux.cc",
|
|
+ ]
|
|
+ }
|
|
+
|
|
if (is_ios || is_mac) {
|
|
sources += gypi_values.net_base_mac_ios_sources
|
|
}
|
|
@@ -966,7 +979,7 @@ if (!is_ios && !is_android) {
|
|
}
|
|
}
|
|
|
|
-if (is_linux || is_mac) {
|
|
+if (is_linux || is_bsd || is_mac) {
|
|
executable("cachetool") {
|
|
testonly = true
|
|
sources = [
|
|
@@ -995,7 +1008,7 @@ if (is_linux || is_mac) {
|
|
}
|
|
}
|
|
|
|
-if (is_linux) {
|
|
+if (is_linux || is_bsd) {
|
|
static_library("epoll_server") {
|
|
sources = [
|
|
"tools/epoll_server/epoll_server.cc",
|
|
@@ -1098,7 +1111,7 @@ if (is_android) {
|
|
}
|
|
}
|
|
|
|
-if (is_android || is_linux) {
|
|
+if (is_android || is_linux || is_bsd) {
|
|
executable("disk_cache_memory_test") {
|
|
testonly = true
|
|
sources = [
|
|
@@ -1276,7 +1289,7 @@ test("net_unittests") {
|
|
"third_party/nist-pkits/",
|
|
]
|
|
|
|
- if (is_linux || is_mac || is_win) {
|
|
+ if (is_linux || is_bsd || is_mac || is_win) {
|
|
deps += [
|
|
"//third_party/pyftpdlib/",
|
|
"//third_party/pywebsocket/",
|
|
@@ -1299,7 +1312,7 @@ test("net_unittests") {
|
|
if (is_desktop_linux) {
|
|
deps += [ ":epoll_quic_tools" ]
|
|
}
|
|
- if (is_linux) {
|
|
+ if (is_linux || is_bsd) {
|
|
sources += gypi_values.net_linux_test_sources
|
|
deps += [
|
|
":epoll_quic_tools",
|
|
@@ -1319,6 +1332,12 @@ test("net_unittests") {
|
|
sources -= [ "proxy/proxy_config_service_linux_unittest.cc" ]
|
|
}
|
|
|
|
+ if (is_bsd) {
|
|
+ sources -= [
|
|
+ "base/address_tracker_linux_unittest.cc",
|
|
+ ]
|
|
+ }
|
|
+
|
|
if (v8_use_external_startup_data) {
|
|
deps += [ "//gin" ]
|
|
}
|