[BACK]Return to patch-mkspecs_features_toolchain.prf CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / qt6-qtbase / patches

File: [cvs.NetBSD.org] / pkgsrc / x11 / qt6-qtbase / patches / patch-mkspecs_features_toolchain.prf (download)

Revision 1.1, Thu Nov 24 11:11:38 2022 UTC (2 months, 1 week ago) by nros
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, HEAD

Add qt6-qtbase version 6.4.1 to pkgsrc-current

Qt6-qtbase is version 6 of the qtbase package
of the Qt C++ GUI framework.
This commit also adds qt6 meta-package needed
for versioning and to be filled with more
packages.

$NetBSD: patch-mkspecs_features_toolchain.prf,v 1.1 2022/11/24 11:11:38 nros Exp $

Avoid "Variable QMAKE_CXX.COMPILER_MACROS is not defined" errors when using clang

--- mkspecs/features/toolchain.prf.orig	2018-12-03 11:15:26.000000000 +0000
+++ mkspecs/features/toolchain.prf
@@ -226,6 +226,8 @@ isEmpty($${target_prefix}.COMPILER_MACRO
         }
     } else: gcc|ghs {
         vars = $$qtVariablesFromGCC($$QMAKE_CXX)
+    } else: clang {
+        vars = $$qtVariablesFromGCC($$QMAKE_CXX)
     }
     for (v, vars) {
         !contains(v, "[A-Z_]+ = .*"): next()