ports/164551: lang/clay does not build on i386
Jyun-Yan You
jyyou at cs.nctu.edu.tw
Sat Jan 28 05:10:04 UTC 2012
The following reply was made to PR ports/164551; it has been noted by GNATS.
From: Jyun-Yan You <jyyou at cs.nctu.edu.tw>
To: bug-followup at FreeBSD.org
Cc: meyer.arne83 at 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--
More information about the freebsd-ports-bugs
mailing list