Control: tags -1 + patch

Hi,

I can confirm that moarvm works for me on mipsel :-)

The thing is:
 * enable mipsel in d/control
 * add libffi-dev to build-deps in d/control
 * add --has-libffi to override_dh_auto_configure in d/rules

Find attached a patch for your test/libffi branch.

-- 
Arturo Borrero González
d/: enable libffi to get moarvm building on mipsel

From: Arturo Borrero Gonzalez <arturo.borrero.g...@gmail.com>

This patch enables libffi in order to get moarvm building on mipsel.

Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.g...@gmail.com>
---
 debian/control |    5 +++--
 debian/rules   |    3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index f364f91..c2f1a31 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Build-Depends: debhelper (>= 9),
                libatomic-ops-dev,
                libtommath-dev,
                libkvm-dev [kfreebsd-any],
+               libffi-dev,
                perl-doc
 Standards-Version: 3.9.6
 Homepage: http://moarvm.org/
@@ -15,7 +16,7 @@ Vcs-Browser: http://anonscm.debian.org/cgit/pkg-rakudo/pkg-moarvm.git
 Vcs-Git: git://anonscm.debian.org/pkg-rakudo/pkg-moarvm.git
 
 Package: moarvm
-Architecture: i386 amd64 arm64 armel armhf powerpc ppc64el kfreebsd-amd64 kfreebsd-i386 ppc64 x32
+Architecture: i386 amd64 arm64 armel armhf powerpc ppc64el kfreebsd-amd64 kfreebsd-i386 ppc64 x32 mipsel
 Depends: ${shlibs:Depends},
          ${misc:Depends}
 Description: virtual machine for Rakudo Perl 6 and NQP
@@ -25,7 +26,7 @@ Description: virtual machine for Rakudo Perl 6 and NQP
 Package: moarvm-dbg
 Section: debug
 Priority: extra
-Architecture: i386 amd64 arm64 armel armhf powerpc ppc64el kfreebsd-amd64 kfreebsd-i386 ppc64 x32
+Architecture: i386 amd64 arm64 armel armhf powerpc ppc64el kfreebsd-amd64 kfreebsd-i386 ppc64 x32 mipsel
 Depends: moarvm (= ${binary:Version}),
          ${misc:Depends}
 Description: virtual machine for Rakudo Perl 6 and NQP - debug symbols
diff --git a/debian/rules b/debian/rules
index 34270d8..2952d1a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,7 +31,8 @@ override_dh_auto_configure:
 		--libdir=$(MOAR_LIB_DIR) \
 		--debug \
 		--has-libtommath \
-		--has-libatomic_ops
+		--has-libatomic_ops \
+		--has-libffi
 
 override_dh_auto_build:
 	perldoc -F -onroff -ddebian/moar.1 \

Reply via email to