diff options
-rw-r--r-- | lang/erlang-runtime17/Makefile | 4 | ||||
-rw-r--r-- | lang/erlang/Makefile | 4 |
2 files changed, 8 insertions, 0 deletions
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 |