git: b7688614d3d1 - 2023Q2 - x11-wm/hyprland: pass --skip-subprojects from within ninja
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 28 Apr 2023 22:36:27 UTC
The branch 2023Q2 has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b7688614d3d1bfa251790c669a4c19438191bb46
commit b7688614d3d1bfa251790c669a4c19438191bb46
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-04-28 22:18:03 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-04-28 22:36:17 +0000
x11-wm/hyprland: pass --skip-subprojects from within ninja
(cherry picked from commit a38806f68b442ca24add4d5b554f936632e17287)
---
x11-wm/hyprland/Makefile | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile
index c5f489752d67..c7996bd57f14 100644
--- a/x11-wm/hyprland/Makefile
+++ b/x11-wm/hyprland/Makefile
@@ -58,10 +58,9 @@ post-patch:
${WRKSRC}/src/Compositor.cpp
.ifdef GH_TUPLE
-post-install:
-# XXX USES=meson invokes ninja directly, so doesn't support --skip-subprojects
- @${RM} -r ${STAGEDIR}${PREFIX}/share/pkgconfig
- @${RM} -r ${STAGEDIR}${PREFIX}/share/protocols
+post-configure:
+ @${REINPLACE_CMD} 's/meson install/& \
+ --skip-subprojects/' ${BUILD_WRKSRC}/build.ninja
.endif
# XXX Drop after FreeBSD 13.2 EOL around 2024-05-01 (don't forget distinfo)