Skip to content

Commit

Permalink
x11/xdg-desktop-portal-hyprland: pass --skip-subprojects from within …
Browse files Browse the repository at this point in the history
…ninja
  • Loading branch information
jbeich committed Apr 28, 2023
1 parent 2e79e15 commit fc5900b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions x11/xdg-desktop-portal-hyprland/Makefile
Expand Up @@ -43,10 +43,9 @@ SLURP_DESC= Simple output chooser
SLURP_RUN_DEPENDS= slurp:x11/slurp

.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

.include <bsd.port.mk>

0 comments on commit fc5900b

Please sign in to comment.