[MacPorts] #58378: Qt5 CMake component fails under Xcode-10.2
MacPorts
noreply at macports.org
Wed Feb 12 13:46:17 UTC 2020
#58378: Qt5 CMake component fails under Xcode-10.2
-------------------------+---------------------------------
Reporter: mouse07410 | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: qt5-qtbase |
-------------------------+---------------------------------
Comment (by mouse07410):
This problem continues. Now on Catalina 10.15.3 with Xcode-11.3.1.
Here's the patch that fixes it for the current, and presumably the future
versions of Xcode:
{{{
--- /opt/local/libexec/qt5/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake.orig
2020-02-11 21:30:23.000000000 -0500
+++ /opt/local/libexec/qt5/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake
2020-02-11 21:32:59.000000000 -0500
@@ -1,7 +1,7 @@
-set(_GL_INCDIRS "/System/Library/Frameworks/OpenGL.framework/Headers"
"/System/Library/Frameworks/AGL.framework/Headers")
+set(_GL_INCDIRS "/System/Library/Frameworks/OpenGL.framework/Headers"
"/System/Library/Frameworks/AGL.framework/Headers"
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers")
find_path(_qt5gui_OPENGL_INCLUDE_DIR gl.h
PATHS ${_GL_INCDIRS}
)
}}}
Could the port maintainers **please** apply it? I understand everybody is
busy, but this seems to be a simple fix to evaluate in 10 months?
--
Ticket URL: <https://trac.macports.org/ticket/58378#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list