aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorscheidell <scheidell@FreeBSD.org>2012-02-03 06:22:06 +0800
committerscheidell <scheidell@FreeBSD.org>2012-02-03 06:22:06 +0800
commitec0ac6b359a937ccc1ae803e1a871aa62c4450b9 (patch)
tree8bd1b441091e1baf60f56b291c7f27fc1288048a /lang
parent501bbd80fd1929300510b02668e84b32f7bf302e (diff)
downloadfreebsd-ports-gnome-ec0ac6b359a937ccc1ae803e1a871aa62c4450b9.tar.gz
freebsd-ports-gnome-ec0ac6b359a937ccc1ae803e1a871aa62c4450b9.tar.zst
freebsd-ports-gnome-ec0ac6b359a937ccc1ae803e1a871aa62c4450b9.zip
- Fix to build on i386
PR: ports/164551 Reported by: Arne Meyer <meyer.arne83@gmail.com> Submitted by: Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer) Approved by: gabor (mentor)
Diffstat (limited to 'lang')
-rw-r--r--lang/clay/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/clay/Makefile b/lang/clay/Makefile
index 8f9f3d2ef2a2..362770eec25f 100644
--- a/lang/clay/Makefile
+++ b/lang/clay/Makefile
@@ -24,14 +24,16 @@ WRKSRC= ${WRKDIR}/jckarter-${PORTNAME}-${GITVERSION}
ONLY_FOR_ARCHS= i386 amd64
-CC= clang
-CXX= clang++
-
USE_CMAKE= yes
CMAKE_ARGS+= -G "Unix Makefiles" -DBUILD_FIX=false
.include <bsd.port.pre.mk>
+.if ${ARCH} == amd64
+CC= clang
+CXX= clang++
+.endif
+
.if ${OSVERSION} < 900044
BUILD_DEPENDS+= clang>=3.0:${PORTSDIR}/lang/clang
RUN_DEPENDS+= clang>=3.0:${PORTSDIR}/lang/clang