mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
x11-wm/subtle: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
6d558714df
commit
a79ba32c2c
@ -19,14 +19,21 @@ MAKE_CMD= rake -v
|
||||
MAKEFILE= Rakefile
|
||||
ALL_TARGET= build
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 1d ${WRKSRC}/data/subtler/runner.rb
|
||||
@${REINPLACE_CMD} -e 's,File\.exists\?,File.exist?,' \
|
||||
${WRKSRC}/data/sur/server.rb
|
||||
@${REINPLACE_CMD} -e 's,/etc/xdg,${LOCALBASE}&,' \
|
||||
${WRKSRC}/src/subtle/ruby.c
|
||||
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160
|
||||
@${REINPLACE_CMD} -e '/cflags/s/-Wall/-Wall -Wno-error=incompatible-function-pointer-types /g' \
|
||||
${WRKSRC}/Rakefile
|
||||
.endif
|
||||
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC} && ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} config
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user