summaryrefslogtreecommitdiff
path: root/www/qt5-webengine/files/patch-mkspecs_features_functions.prf
blob: 3aef98b0b676b8829e81b93af8fcbf14d7d6c816 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Include the freebsd.pri file provided by the port, to pass FreeBSD specific
settings to gn.

--- mkspecs/features/functions.prf.orig	2019-01-16 22:42:58 UTC
+++ mkspecs/features/functions.prf
@@ -82,6 +82,7 @@ defineReplace(gnArgs) {
     linux: include($$QTWEBENGINE_ROOT/src/core/config/linux.pri)
     macos: include($$QTWEBENGINE_ROOT/src/core/config/mac_osx.pri)
     win32: include($$QTWEBENGINE_ROOT/src/core/config/windows.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.)
     return($$gn_args)
 }
@@ -101,6 +102,7 @@ defineReplace(gnOS) {
     macos: return(mac)
     win32: return(win)
     linux: return(linux)
+    freebsd: return(bsd)
     error(Unsupported platform)
     return(unknown)
 }