Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2023 17:43:18 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 42e5fc480ced - main - x11-clocks/buici-clock: Fix build with llvm16
Message-ID:  <202307201743.36KHhIDV036582@gitrepo.freebsd.org>

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

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

commit 42e5fc480ceddd917a28b809faf71961b8734d97
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-20 14:08:22 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-20 17:42:35 +0000

    x11-clocks/buici-clock: Fix build with llvm16
    
    - Pet port{clippy|fmt}
    - Remove patched REIMNPLACE_CMD
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 x11-clocks/buici-clock/Makefile | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/x11-clocks/buici-clock/Makefile b/x11-clocks/buici-clock/Makefile
index c4cda50ca91b..8f65566b32c7 100644
--- a/x11-clocks/buici-clock/Makefile
+++ b/x11-clocks/buici-clock/Makefile
@@ -14,22 +14,23 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libcairo.so:graphics/cairo
 
-WRKSRC=		${WRKDIR}/buici
-
-USES=		tar:xz bison gmake pkgconfig autoreconf xorg
+USES=		autoreconf bison gmake pkgconfig tar:xz xorg
+USE_CXXSTD=	c++14
 USE_XORG=	x11 xext
+
 GNU_CONFIGURE=	yes
-MAKE_JOBS_UNSAFE=yes
 
-PLIST_FILES=	bin/buici-clock man/man1/buici-clock.1.gz
+MAKE_JOBS_UNSAFE=	yes
+
+WRKSRC=		${WRKDIR}/buici
+
+PLIST_FILES=	bin/buici-clock \
+		man/man1/buici-clock.1.gz
 
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|echo -e|echo| ; \
 		 s|-g | |' ${WRKSRC}/Makefile.in
-	@${REINPLACE_CMD} -e \
-		's|_=|+=| ; \
-		 s|-g | |' ${WRKSRC}/xo/Makefile.in
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/buici-clock ${STAGEDIR}${PREFIX}/bin



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