mirror of
https://git.freebsd.org/ports.git
synced 2025-05-15 00:31:51 -04:00
Qt 6.6.0 is a feature release with focus on improving UX capabilities including responsive UI technology and the Qt Graph module. The Qt Coap module has been added as net/qt6-coap. [1] PySide6 and PyQt6 have also been updated to 6.6.0. Announcement: https://www.qt.io/blog/qt-6.6-released Rel note: https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/6.6.0/release-note.md PR: 275068, 274911 [1] MFH: 2023Q4 Exp-run by: antoine
34 lines
1.2 KiB
Python
34 lines
1.2 KiB
Python
--- src/3rdparty/gn/build/gen.py.orig 2023-08-16 19:50:41 UTC
|
|
+++ src/3rdparty/gn/build/gen.py
|
|
@@ -92,6 +92,12 @@ class Platform(object):
|
|
def is_solaris(self):
|
|
return self._platform == 'solaris'
|
|
|
|
+ def is_openbsd(self):
|
|
+ return self._platform == 'openbsd'
|
|
+
|
|
+ def is_freebsd(self):
|
|
+ return self._platform == 'freebsd'
|
|
+
|
|
def is_posix(self):
|
|
return self._platform in ['linux', 'freebsd', 'darwin', 'aix', 'openbsd', 'haiku', 'solaris', 'msys', 'netbsd']
|
|
|
|
@@ -294,7 +300,7 @@ def WriteGenericNinja(path, static_libraries, executab
|
|
'linux': 'build_linux.ninja.template',
|
|
'freebsd': 'build_linux.ninja.template',
|
|
'aix': 'build_aix.ninja.template',
|
|
- 'openbsd': 'build_openbsd.ninja.template',
|
|
+ 'openbsd': 'build_linux.ninja.template',
|
|
'haiku': 'build_haiku.ninja.template',
|
|
'solaris': 'build_linux.ninja.template',
|
|
'netbsd': 'build_linux.ninja.template',
|
|
@@ -531,6 +537,9 @@ def WriteGNNinja(path, platform, host, options, args_l
|
|
|
|
if platform.is_posix() and not platform.is_haiku():
|
|
ldflags.append('-pthread')
|
|
+
|
|
+ if platform.is_openbsd():
|
|
+ libs.append('-lkvm')
|
|
|
|
if platform.is_mingw() or platform.is_msys():
|
|
cflags.extend(['-DUNICODE',
|