japanese/Wnn7-lib: Fix build on 14

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-08-18 21:13:08 +02:00
parent 5273e221cb
commit d661d58022

View file

@ -17,6 +17,15 @@ PORTDOCS= README
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
USES+= llvm:max=14
CC= clang${LLVM_VERSION}
CPP= clang-cpp${LLVM_VERSION}
CXX= clang++${LLVM_VERSION}
.endif
post-patch:
@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \
${WRKSRC}/config/Project.tmpl \