git: 1ba82860b678 - 2024Q1 - x11/hyprpicker: unbreak build without libglvnd
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Mar 2024 18:57:37 UTC
The branch 2024Q1 has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1ba82860b67857ecf14dc68354e53d91ed5da3a6
commit 1ba82860b67857ecf14dc68354e53d91ed5da3a6
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-03-03 11:39:13 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-03-03 18:57:17 +0000
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
(cherry picked from commit a170bb5d71597ba851ec31dbc0a4a98fe8f6d4d9)
---
x11/hyprpicker/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/x11/hyprpicker/Makefile b/x11/hyprpicker/Makefile
index 2ec0c79f3216..da6137d0f8fe 100644
--- a/x11/hyprpicker/Makefile
+++ b/x11/hyprpicker/Makefile
@@ -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}