Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jan 2012 05:10:04 GMT
From:      Jyun-Yan You <jyyou@cs.nctu.edu.tw>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/164551: lang/clay does not build on i386
Message-ID:  <201201280510.q0S5A4eO098377@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/164551; it has been noted by GNATS.

From: Jyun-Yan You <jyyou@cs.nctu.edu.tw>
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 <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
 
 --ibTvN161/egqYuK8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201280510.q0S5A4eO098377>