git: 994b2d7deeaa - main - security/arirang: Fix build with Ruby 3.x
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Mar 2022 05:04:58 UTC
The branch main has been updated by yasu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=994b2d7deeaadb6d95d153ea83d1dadeaf637ea3
commit 994b2d7deeaadb6d95d153ea83d1dadeaf637ea3
Author: Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2022-03-12 18:44:36 +0000
Commit: Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2022-03-14 05:03:28 +0000
security/arirang: Fix build with Ruby 3.x
PR: 262532
---
security/arirang/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/security/arirang/Makefile b/security/arirang/Makefile
index ad1a969cc6d3..025c1aaa461c 100644
--- a/security/arirang/Makefile
+++ b/security/arirang/Makefile
@@ -21,6 +21,7 @@ USES= compiler:c11 ssl
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
+CFLAGS+= -fdeclspec
CFLAGS+= -I${LOCALBASE}/include/ruby-${RUBY_VER} -I${LOCALBASE}/include/ruby-${RUBY_VER}/${RUBY_ARCH}
CFLAGS+= -DRUBY_19