pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: qt6-qtwayland build failure



On Wed, 05 Jun 2024 18:48:16 +0000
pin <voidpin%protonmail.com@localhost> wrote:

> Adding the include for devel/wayland to qt6-qtbase does fix the build.
> 
> ===> Building binary package for qt6-qtwayland-6.7.1nb1
> => Creating binary package
> /usr/pkgsrc/packages/All/qt6-qtwayland-6.7.1nb1.tgz ===> Installing
> binary package of qt6-qtwayland-6.7.1nb1
> 
> Can we merge this?

I think a more proper way is

.include "../../devel/wayland/platform.mk"

...

.if !empty(PLATFORM_SUPPORTS_WAYLAND:Myes)
.include "../../devel/wayland/buildlink3.mk"
.endif

Not all pkgsrc platforms support wayland and just
including waylands buildlink3.mk would break Qt6 on
these.

Niclas


Home | Main Index | Thread Index | Old Index