aboutsummaryrefslogtreecommitdiff
path: root/japanese/ruby-uconv
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-19 19:01:44 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-19 19:27:16 +0000
commit07e4c1f12cd01d35a8a9e563ff6fbb15d9487449 (patch)
treed245ada568ecc8127b490f508dae091f166bf4f4 /japanese/ruby-uconv
parent14b946dd9b9ef9b2a1b6b19f702532fc067fc5ff (diff)
downloadports-07e4c1f12cd01d35a8a9e563ff6fbb15d9487449.tar.gz
ports-07e4c1f12cd01d35a8a9e563ff6fbb15d9487449.zip
Diffstat (limited to 'japanese/ruby-uconv')
-rw-r--r--japanese/ruby-uconv/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/japanese/ruby-uconv/Makefile b/japanese/ruby-uconv/Makefile
index f19116e3900a..d41ed161e394 100644
--- a/japanese/ruby-uconv/Makefile
+++ b/japanese/ruby-uconv/Makefile
@@ -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}/