Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Dec 2023 21:13:48 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: 2e2193873d5b - main - x11/swaylock: unbreak snapshot --version after 60507c96737a
Message-ID:  <202312022113.3B2LDmTi068182@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=2e2193873d5b5a4a5ff8d9a0ecbfa29f32068c16

commit 2e2193873d5b5a4a5ff8d9a0ecbfa29f32068c16
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-12-02 21:11:00 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-12-02 21:13:37 +0000

    x11/swaylock: unbreak snapshot --version after 60507c96737a
    
    https://github.com/swaywm/swaylock/commit/84598b08f21a
---
 x11/swaylock/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11/swaylock/Makefile b/x11/swaylock/Makefile
index a14765f1b5b9..f77589ae273f 100644
--- a/x11/swaylock/Makefile
+++ b/x11/swaylock/Makefile
@@ -42,7 +42,7 @@ PIXBUF_MESON_ENABLED=	gdk-pixbuf
 post-patch:
 # Extract (snapshot) version from the port instead of meson.build
 	@${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \
-		-e '/project_version/s/@0@/${DISTVERSIONFULL}/' \
+		-e "s/meson.project_version()/'${DISTVERSIONFULL}'/" \
 		${WRKSRC}/meson.build
 
 .include <bsd.port.mk>



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