databases/R-cran-RSQLite: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
0e71589377
commit
2a1d6e5e54
1 changed files with 8 additions and 0 deletions
|
@ -22,4 +22,12 @@ RUN_DEPENDS= ${CRAN_DEPENDS}
|
|||
|
||||
USES= cran:auto-plist,compiles
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
@${REINPLACE_CMD} -e 's|PKG_CPPFLAGS=|PKG_CPPFLAGS=-Wno-error=enum-constexpr-conversion |g' \
|
||||
${WRKSRC}/src/Makevars
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue