Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 2023 22:35:32 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fc5900ba928e - main - x11/xdg-desktop-portal-hyprland: pass --skip-subprojects from within ninja
Message-ID:  <202304282235.33SMZWpX071698@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fc5900ba928e491a670d1974b60b53771ea9e758

commit fc5900ba928e491a670d1974b60b53771ea9e758
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-04-28 22:15:35 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-04-28 22:34:36 +0000

    x11/xdg-desktop-portal-hyprland: pass --skip-subprojects from within ninja
---
 x11/xdg-desktop-portal-hyprland/Makefile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/x11/xdg-desktop-portal-hyprland/Makefile b/x11/xdg-desktop-portal-hyprland/Makefile
index 1a4da0938ca3..3683d9fa6fb7 100644
--- a/x11/xdg-desktop-portal-hyprland/Makefile
+++ b/x11/xdg-desktop-portal-hyprland/Makefile
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304282235.33SMZWpX071698>