git: a170bb5d7159 - main - x11/hyprpicker: unbreak build without libglvnd
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Mar 2024 18:52:35 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a170bb5d71597ba851ec31dbc0a4a98fe8f6d4d9
commit a170bb5d71597ba851ec31dbc0a4a98fe8f6d4d9
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:51:44 +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
---
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}