forked from Lainports/freebsd-ports
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
This commit is contained in:
parent
d92c0802ea
commit
42e5fc480c
1 changed files with 10 additions and 9 deletions
|
|
@ -14,22 +14,23 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
|||
|
||||
LIB_DEPENDS= libcairo.so:graphics/cairo
|
||||
|
||||
USES= autoreconf bison gmake pkgconfig tar:xz xorg
|
||||
USE_CXXSTD= c++14
|
||||
USE_XORG= x11 xext
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/buici
|
||||
|
||||
USES= tar:xz bison gmake pkgconfig autoreconf xorg
|
||||
USE_XORG= x11 xext
|
||||
GNU_CONFIGURE= yes
|
||||
MAKE_JOBS_UNSAFE=yes
|
||||
|
||||
PLIST_FILES= bin/buici-clock man/man1/buici-clock.1.gz
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue