1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/www/chromium/files/patch-build_common.gypi
Rene Ladan 0eb655fcd9 www/chromium: update to 52.0.2743.116
Mark BROKEN on FreeBSD 9 for now, does not patch

Submitted by:	"LeFroid" via GitHub
MFH:		2016Q3
Security:	https://vuxml.freebsd.org/freebsd/6fae9fe1-5048-11e6-8aa7-3065ec8fd3ec.html
2016-08-12 18:51:46 +00:00

41 lines
1.2 KiB
Python

--- build/common.gypi.orig 2016-07-22 00:06:49.000000000 -0400
+++ build/common.gypi 2016-08-03 11:18:18.437811000 -0400
@@ -726,6 +726,12 @@
'os_bsd%': 0,
}],
+ ['OS=="freebsd" or OS=="openbsd"', {
+ 'icu_use_data_file_flag%': 0,
+ }, {
+ 'icu_use_data_file_flag%': 1,
+ }],
+
# NSS usage.
['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris")', {
'use_nss_certs%': 1,
@@ -1303,6 +1309,10 @@
# able to turn it off for various reasons.
'linux_disable_pie%': 0,
+ # XXX(rene) More options, keep them?
+ 'os_ver%': 0,
+ 'use_system_libjpeg%': 0,
+
# The release channel that this build targets. This is used to restrict
# channel-specific build options, like which installer packages to create.
# The default is 'all', which does no channel-specific filtering.
@@ -4709,6 +4719,13 @@
'ldflags': [
'-Wl,--no-keep-memory',
],
+ 'ldflags!': [
+ '-ldl',
+ '-pie'
+ ],
+ 'libraries!': [
+ '-ldl',
+ ],
},
}],
# Android-specific options; note that most are set above with Linux.