diff options
| author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2018-07-29 19:28:39 +0000 |
|---|---|---|
| committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2018-07-29 19:28:39 +0000 |
| commit | 37f83b456c783f9dabe3ff92964559d3200a2051 (patch) | |
| tree | 84b8efe4662797533c10e8e03696355209a3a47d | |
| parent | Remove incorrect CFLAGS (diff) | |
Add arm/aarch64 support
PR: 230147
Submitted by: Greg V <greg@unrelenting.technology>
Notes
Notes:
svn path=/head/; revision=475850
| -rw-r--r-- | devel/rubygem-ffi/Makefile | 4 | ||||
| -rw-r--r-- | devel/rubygem-ffi/files/patch-ffi.gemspec | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/devel/rubygem-ffi/Makefile b/devel/rubygem-ffi/Makefile index 122740f0ed06..f174341914b5 100644 --- a/devel/rubygem-ffi/Makefile +++ b/devel/rubygem-ffi/Makefile @@ -17,4 +17,8 @@ LIB_DEPENDS= libffi.so:devel/libffi USE_RUBY= yes USES= gem +post-patch: + @${LN} -s i386-freebsd ${WRKSRC}/lib/ffi/platform/arm-freebsd + @${LN} -s x86_64-freebsd ${WRKSRC}/lib/ffi/platform/aarch64-freebsd + .include <bsd.port.mk> diff --git a/devel/rubygem-ffi/files/patch-ffi.gemspec b/devel/rubygem-ffi/files/patch-ffi.gemspec new file mode 100644 index 000000000000..5f3b0214fd22 --- /dev/null +++ b/devel/rubygem-ffi/files/patch-ffi.gemspec @@ -0,0 +1,11 @@ +--- ffi.gemspec.orig 2018-07-29 17:14:15 UTC ++++ ffi.gemspec +@@ -21,6 +21,8 @@ Gem::Specification.new do |s| + s.rubygems_version = "2.7.7".freeze + s.summary = "Ruby FFI".freeze + ++ s.files += ["lib/ffi/platform/aarch64-freebsd/types.conf".freeze, "lib/ffi/platform/arm-freebsd/types.conf".freeze] ++ + if s.respond_to? :specification_version then + s.specification_version = 4 + |
