1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

x11/hyprpicker: unbreak build without libglvnd

In file included from src/main.cpp:5:
In file included from src/hyprpicker.hpp:3:
In file included from src/defines.hpp:5:
src/includes.hpp:30:10: fatal error: 'GLES3/gl32.h' file not found
 #include <GLES3/gl32.h>
          ^~~~~~~~~~~~~~

PR:		277449
Reported by:	Elena
This commit is contained in:
Jan Beich 2024-03-03 12:39:13 +01:00
parent 002d340015
commit a170bb5d71

View File

@ -47,6 +47,9 @@ post-patch:
-e '/pthread/d; /CMAKE_THREAD_LIBS_INIT/d' \
-e '/ rt)/d' \
${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} -e '/GLES3/d' \
-e '/pthread\.h/d' \
${WRKSRC}/src/includes.hpp
pre-configure:
@${SETENV} ${MAKE_ENV} ${GMAKE} protocols -C${WRKSRC}