aboutsummaryrefslogtreecommitdiff
path: root/lang/erlang
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2009-09-06 13:29:38 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2009-09-06 13:29:38 +0000
commit043d69b2079b37ec1b2632bc6c2f97796b1dfb0f (patch)
tree6ab79d13b7c82475bc646efafe738bc26ad6865e /lang/erlang
parentbdce9ecd3502614bb1cfc61d1f03d4415b2e8de5 (diff)
downloadports-043d69b2079b37ec1b2632bc6c2f97796b1dfb0f.tar.gz
ports-043d69b2079b37ec1b2632bc6c2f97796b1dfb0f.zip
Notes
Diffstat (limited to 'lang/erlang')
-rw-r--r--lang/erlang/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile
index c66acd7b015b..f12bac975db5 100644
--- a/lang/erlang/Makefile
+++ b/lang/erlang/Makefile
@@ -86,13 +86,16 @@ ERLANG_PLIST= ${WRKDIR}/pkg-plist
# net_kernel:start([node_name, shortnames]) invoked repeatedly
CONFIGURE_ARGS+= --enable-threads --enable-dynamic-ssl-lib --enable-sctp --enable-smp-support
-NOPRECIOUSMAKEVARS= yes # Prevent exporting of "ARCH"
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
PLIST_SUB+= ERTS_VSN=${ERTS_VSN} TOOLS_VSN=${TOOLS_VSN}
+.if ${ARCH} == i386
+MAKE_ARGS+= ARCH=x86
+.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