Skip to content

Commit

Permalink
x11-clocks/buici-clock: Fix build with llvm16
Browse files Browse the repository at this point in the history
- Pet port{clippy|fmt}
- Remove patched REIMNPLACE_CMD

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jul 20, 2023
1 parent d92c080 commit 42e5fc4
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions x11-clocks/buici-clock/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 42e5fc4

Please sign in to comment.