[Bug 266398] x11-toolkits/qt5-gui: properly handle X11=off

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 13 Sep 2022 12:29:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266398

            Bug ID: 266398
           Summary: x11-toolkits/qt5-gui: properly handle X11=off
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde@FreeBSD.org
          Reporter: girgen@FreeBSD.org
          Assignee: kde@FreeBSD.org
             Flags: maintainer-feedback?(kde@FreeBSD.org)

Created attachment 236539
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=236539&action=edit
fix dependency problem for qt5.gui

When building qt-gui port with the X11 option = off, it still requires libGL.so
from graphics/libglvnd, but that port will not build libGL.so unless X11 = on.

With my suggested adjustment:

X11 = on

$ make -V LIB_DEPENDS | tr ' ' '\n' | grep GL.so
libEGL.so:graphics/libglvnd
libGL.so:graphics/libglvnd
$

X11 = off
$ make -V LIB_DEPENDS | tr ' ' '\n' | grep GL.so
libEGL.so:graphics/libglvnd
$

This will unbreak building stuff when X11 = off and some port pulls in qt-gui
as a dependency.

-- 
You are receiving this mail because:
You are the assignee for the bug.