summaryrefslogtreecommitdiff
path: root/lang/pypy
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-07-04 21:41:20 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-07-04 21:41:20 +0000
commit59c15bbfdcb1981347b69b48c2fed0483aed38d4 (patch)
treeffa45784e8c477643dc26fdebaba821ef0508ead /lang/pypy
parentRemove -Werror from compiler flags to fix build with clang (diff)
Fix detection of i386 platforms
PR: ports/169607 Submitted by: David Naylor <naylor.b.david@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=300496
Diffstat (limited to 'lang/pypy')
-rw-r--r--lang/pypy/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/pypy/Makefile b/lang/pypy/Makefile
index 925b76fb6c81..3b3380beb275 100644
--- a/lang/pypy/Makefile
+++ b/lang/pypy/Makefile
@@ -181,7 +181,7 @@ pre-fetch:
@${ECHO}
@${ECHO} "On a fast machine PyPy takes around 45 minutes to translate and compile,"
@${ECHO} "however an average machine takes in excess of 4 hours, per instance."
-.if !defined(PYPY_IGNORE_MEM) && (${PYPY_ARCH} == "i386" || ${PYPY_ARCH} == "ppc_32")
+.if !defined(PYPY_IGNORE_MEM) && (${PYPY_ARCH} == "x86_32" || ${PYPY_ARCH} == "ppc_32")
@if [ $$((`sysctl -n hw.physmem` / 1024 / 1024)) -le 2000 ]; then \
${ECHO}; \
${ECHO} "err: this system has insufficient memory, expected at least 2G RAM",; \