Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2018 19:28:39 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r475850 - in head/devel/rubygem-ffi: . files
Message-ID:  <201807291928.w6TJSdna064092@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807291928.w6TJSdna064092>