svn commit: r475850 - in head/devel/rubygem-ffi: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jul 29 19:28:57 UTC 2018
Author: sunpoet
Date: Sun Jul 29 19:28:39 2018
New Revision: 475850
URL: https://svnweb.freebsd.org/changeset/ports/475850
Log:
Add arm/aarch64 support
PR: 230147
Submitted by: Greg V <greg at unrelenting.technology>
Added:
head/devel/rubygem-ffi/files/patch-ffi.gemspec (contents, props changed)
Modified:
head/devel/rubygem-ffi/Makefile
Modified: head/devel/rubygem-ffi/Makefile
==============================================================================
--- head/devel/rubygem-ffi/Makefile Sun Jul 29 19:28:34 2018 (r475849)
+++ head/devel/rubygem-ffi/Makefile Sun Jul 29 19:28:39 2018 (r475850)
@@ -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>
Added: head/devel/rubygem-ffi/files/patch-ffi.gemspec
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-ffi/files/patch-ffi.gemspec Sun Jul 29 19:28:39 2018 (r475850)
@@ -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
+
More information about the svn-ports-all
mailing list