From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jan 28 05:10:04 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A42CF1065676 for ; Sat, 28 Jan 2012 05:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8FF6F8FC08 for ; Sat, 28 Jan 2012 05:10:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0S5A4Ec098378 for ; Sat, 28 Jan 2012 05:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0S5A4eO098377; Sat, 28 Jan 2012 05:10:04 GMT (envelope-from gnats) Date: Sat, 28 Jan 2012 05:10:04 GMT Message-Id: <201201280510.q0S5A4eO098377@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Jyun-Yan You Cc: Subject: Re: ports/164551: lang/clay does not build on i386 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jyun-Yan You List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2012 05:10:04 -0000 The following reply was made to PR ports/164551; it has been noted by GNATS. From: Jyun-Yan You To: bug-followup@FreeBSD.org Cc: meyer.arne83@gmail.com Subject: Re: ports/164551: lang/clay does not build on i386 Date: Sat, 28 Jan 2012 13:00:39 +0800 --ibTvN161/egqYuK8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Sorry, here is the patch. --ibTvN161/egqYuK8 Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="clay-0.1_1.patch" diff -ruN --exclude=CVS /usr/ports/lang/clay/Makefile /home/jyyou/src/ports/lang/clay/Makefile --- /usr/ports/lang/clay/Makefile 2012-01-26 20:08:11.000000000 +0800 +++ /home/jyyou/src/ports/lang/clay/Makefile 2012-01-28 12:51:10.171072357 +0800 @@ -7,6 +7,7 @@ PORTNAME= clay PORTVERSION= 0.1.0 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= https://github.com/jckarter/${PORTNAME}/tarball/v${PORTVERSION}/ DISTNAME= jckarter-${PORTNAME}-v${PORTVERSION}-0-g${GITVERSION} @@ -24,14 +25,16 @@ ONLY_FOR_ARCHS= i386 amd64 -CC= clang -CXX= clang++ - USE_CMAKE= yes CMAKE_ARGS+= -G "Unix Makefiles" -DBUILD_FIX=false .include +.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 --ibTvN161/egqYuK8--