On Tue Mar 23, 2021 at 06:45:28AM +0100, Rafael Sadowski wrote:
> Hi ports@
>
> please find a attached Qt 6.0.2 as tarball. Qt6 is at an early point.
> There are just a handful applications and none of them are ported to
> OpenBSD. The following modules are currently available:
>
> - qttranslations
> - qttools
> - qtsvg
> - qtshadertools
> - qtquicktimeline
> - qtquickcontrols2
> - qtquick3d
> - qtdeclarative
> - qtbase
> - qt5compat
>
> - qtwayland (not ported)
> - qtdoc (not ported)
>
>
> Further modules will follow in later Qt versions. However I think the
> 6.0.2 port is ready to import. Some patches come form x11/qt5. With
> tb@'s help, I married QtBase with LibreSSL again. We are now on our own
> again as Gentoo no longer follows this path. From the port perspective,
> I have decided on the following points:
>
> - Prefix all Qt6 ports with qt6-*. This way we don't run into any
> conflicts and I think it's better than the naming-mix with qt5.
> - qt6-qtbase-6.0.2.tgz
> - qt6-qt5compat-6.0.2.tgz
> - qt6-qtdeclarative-6.0.2.tgz
> - qt6-qtquick3d-6.0.2.tgz
> - qt6-qtquickcontrols2-6.0.2.tgz
> - qt6-qtquicktimeline-6.0.2.tgz
> - qt6-qtshadertools-6.0.2.tgz
> - qt6-qtsvg-6.0.2.tgz
> - qt6-qttools-6.0.2.tgz
> - qt6-qttranslations-6.0.2.tgz
>
> - Rename all imported qt tools with the -qt6 suffix like we do with qt5.
> This makes it easier to use several versions at the same time.
> - x11/qt6 is based on x11/qt5. I have tried to make many things simpler
> and cleaner.
> - Qt6 switched to cmake as build system and needs help with *FLAGS. The
> interesting part:
>
> CXXFLAGS += -I${LOCALBASE}/include
> LDFLAGS += -L${LOCALBASE}/lib -lc
>
> CONFIGURE_ARGS += -DCMAKE_EXE_LINKER_FLAGS_INIT="${LDFLAGS}" \
> -DCMAKE_MODULE_LINKER_FLAGS_INIT="${LDFLAGS}" \
> -DCMAKE_SHARED_LINKER_FLAGS_INIT="${LDFLAGS}"
>
> *_INIT should not overwrite existing flags.
>
> I think those were the exciting parts. Reviews welcome!
>
> As it does not yet have a consumer, I would like to import it.
>
> Rafael Sadowski
FYI, survived an amd64 bulk build.