Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-mkspecs_features_functions.prf
Include the freebsd.pri file provided by the port, to pass FreeBSD specific | Include the freebsd.pri file provided by the port, to pass FreeBSD specific | ||||
settings to gn. | settings to gn. | ||||
--- mkspecs/features/functions.prf.orig 2019-01-16 22:42:58 UTC | --- mkspecs/features/functions.prf.orig 2019-05-24 09:01:39 UTC | ||||
+++ mkspecs/features/functions.prf | +++ mkspecs/features/functions.prf | ||||
@@ -82,6 +82,7 @@ defineReplace(gnArgs) { | @@ -82,6 +82,7 @@ defineReplace(gnArgs) { | ||||
linux: include($$QTWEBENGINE_ROOT/src/core/config/linux.pri) | linux: include($$QTWEBENGINE_ROOT/src/core/config/linux.pri) | ||||
macos: include($$QTWEBENGINE_ROOT/src/core/config/mac_osx.pri) | macos: include($$QTWEBENGINE_ROOT/src/core/config/mac_osx.pri) | ||||
win32: include($$QTWEBENGINE_ROOT/src/core/config/windows.pri) | win32: include($$QTWEBENGINE_ROOT/src/core/config/windows.pri) | ||||
+ freebsd: include($$QTWEBENGINE_ROOT/src/core/config/freebsd.pri) | + freebsd: include($$QTWEBENGINE_ROOT/src/core/config/freebsd.pri) | ||||
isEmpty(gn_args): error(No gn_args found please make sure you have valid configuration.) | isEmpty(gn_args): error(No gn_args found please make sure you have valid configuration.) | ||||
return($$gn_args) | return($$gn_args) | ||||
} | } | ||||
@@ -101,6 +102,7 @@ defineReplace(gnOS) { | @@ -94,6 +95,7 @@ defineReplace(gnArch) { | ||||
contains(qtArch, "arm64"): return(arm64) | |||||
contains(qtArch, "mips"): return(mipsel) | |||||
contains(qtArch, "mips64"): return(mips64el) | |||||
+ contains(qtArch, "power64"): return(ppc64) | |||||
return(unknown) | |||||
} | |||||
@@ -101,6 +103,7 @@ defineReplace(gnOS) { | |||||
macos: return(mac) | macos: return(mac) | ||||
win32: return(win) | win32: return(win) | ||||
linux: return(linux) | linux: return(linux) | ||||
+ freebsd: return(freebsd) | + freebsd: return(freebsd) | ||||
error(Unsupported platform) | error(Unsupported platform) | ||||
return(unknown) | return(unknown) | ||||
} | } |