mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
japanese/ruby-uconv: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
14b946dd9b
commit
07e4c1f12c
@ -25,6 +25,12 @@ OPTIONS_DEFINE= DOCS
|
||||
|
||||
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
|
||||
|
||||
post-patch:
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
@${REINPLACE_CMD} -e 's|fdeclspec|fdeclspec -Wno-error=incompatible-function-pointer-types|g' \
|
||||
${WRKSRC}/extconf.rb
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${RUBY_MODDOCDIR}/
|
||||
|
Loading…
Reference in New Issue
Block a user