mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
Finally, after a long wait, an electron port for FreeBSD lands in the portstree. A huge thanks to everyone contributed to this huge effort and to the maintainer that is willing to take the burden of the maintainership!
29 lines
1.5 KiB
C
29 lines
1.5 KiB
C
--- chrome/common/chrome_paths.h.orig 2019-03-15 06:37:09 UTC
|
|
+++ chrome/common/chrome_paths.h
|
|
@@ -51,7 +51,7 @@ enum {
|
|
// to set policies for chrome. This directory
|
|
// contains subdirectories.
|
|
#endif
|
|
-#if defined(OS_CHROMEOS) || (defined(OS_LINUX) && defined(CHROMIUM_BUILD)) || \
|
|
+#if defined(OS_CHROMEOS) || ((defined(OS_LINUX) || defined(OS_BSD)) && defined(CHROMIUM_BUILD)) || \
|
|
defined(OS_MACOSX)
|
|
DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions
|
|
// on Chrome Mac and Chromium Linux.
|
|
@@ -60,7 +60,7 @@ enum {
|
|
// create it.
|
|
#endif
|
|
|
|
-#if defined(OS_LINUX)
|
|
+#if defined(OS_LINUX) || defined(OS_BSD)
|
|
DIR_STANDALONE_EXTERNAL_EXTENSIONS, // Directory for 'per-extension'
|
|
// definition manifest files that
|
|
// describe extensions which are to be
|
|
@@ -111,7 +111,7 @@ enum {
|
|
DIR_SUPERVISED_USER_INSTALLED_WHITELISTS, // Directory where sanitized
|
|
// supervised user whitelists are
|
|
// installed.
|
|
-#if defined(OS_LINUX) || defined(OS_MACOSX)
|
|
+#if defined(OS_LINUX) || defined(OS_BSD) || defined(OS_MACOSX)
|
|
DIR_NATIVE_MESSAGING, // System directory where native messaging host
|
|
// manifest files are stored.
|
|
DIR_USER_NATIVE_MESSAGING, // Directory with Native Messaging Hosts
|