aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-04-28 22:18:33 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-04-28 22:34:37 +0000
commitbf239e4ed895b62474ee663822304308fa80f4be (patch)
tree89f39295ac140a602d3690a047b2fe9d91f363e5
parenta38806f68b442ca24add4d5b554f936632e17287 (diff)
downloadports-bf239e4ed895b62474ee663822304308fa80f4be.tar.gz
ports-bf239e4ed895b62474ee663822304308fa80f4be.zip
x11-wm/hyprland-devel: pass --skip-subprojects from within ninja
-rw-r--r--x11-wm/hyprland-devel/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/x11-wm/hyprland-devel/Makefile b/x11-wm/hyprland-devel/Makefile
index 9506ea7eef91..59142f4c05d2 100644
--- a/x11-wm/hyprland-devel/Makefile
+++ b/x11-wm/hyprland-devel/Makefile
@@ -56,10 +56,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/hyprland-protocols
- @${RM} -r ${STAGEDIR}${PREFIX}/share/pkgconfig
+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)