From 6519acfd0447288f36315e06d87cdcb56abfef94 Mon Sep 17 00:00:00 2001 From: Jimmy Olgeni Date: Wed, 20 May 2015 20:09:54 +0000 Subject: [PATCH] Unbreak build on armv6. PR: 200322 Submitted by: a.andersson.thn@gmail.com --- lang/erlang-runtime17/Makefile | 4 ++++ lang/erlang/Makefile | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/lang/erlang-runtime17/Makefile b/lang/erlang-runtime17/Makefile index cf4972e50542..ed47ccf26b00 100644 --- a/lang/erlang-runtime17/Makefile +++ b/lang/erlang-runtime17/Makefile @@ -151,6 +151,10 @@ CONFIGURE_ARGS+=--disable-smp-support MAKE_ARGS+= ARCH=x86 .endif +.if ${ARCH} == armv6 +MAKE_ARGS+= ARCH=arm +.endif + # The man-pages are put (in spite of FreeBSD's port convention) in a private # subdir. This is to avoid cluttering up the man page name space. Also the # Erlang man pages are more of internal documentation using the man format than diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile index ea6423ce287c..64bfeb3e9f8c 100644 --- a/lang/erlang/Makefile +++ b/lang/erlang/Makefile @@ -168,6 +168,10 @@ CONFIGURE_ARGS+=--disable-smp-support MAKE_ARGS+= ARCH=x86 .endif +.if ${ARCH} == armv6 +MAKE_ARGS+= ARCH=arm +.endif + # The man-pages are put (in spite of FreeBSD's port convention) in a private # subdir. This is to avoid cluttering up the man page name space. Also the # Erlang man pages are more of internal documentation using the man format than