diff options
author | Michael Scheidell <scheidell@FreeBSD.org> | 2012-02-02 22:22:06 +0000 |
---|---|---|
committer | Michael Scheidell <scheidell@FreeBSD.org> | 2012-02-02 22:22:06 +0000 |
commit | 609dced53a37de3b7164bd81a6141b732644e1ca (patch) | |
tree | 122b88d88de26282ff6ba5b0f74c5cd1fc43a978 /lang/clay | |
parent | Upgrade to 2012.20. (diff) |
- 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)
Notes
Notes:
svn path=/head/; revision=290327
Diffstat (limited to 'lang/clay')
-rw-r--r-- | lang/clay/Makefile | 8 |
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 |