Date: Sat, 28 Jul 2012 10:07:05 +0200 From: Guido Falsi <madpilot@FreeBSD.org> To: Robert <traveling08@cox.net> Cc: "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org> Subject: Re: rxvt-unicode fails build 9 stable i386 Message-ID: <50139DA9.7030604@FreeBSD.org> In-Reply-To: <20120727192724.09f82cca@dell64> References: <20120726191748.5fa39af3@vaio9bsd> <20120727091023.GB22954@megatron.madpilot.net> <20120727192724.09f82cca@dell64>
next in thread | previous in thread | raw e-mail | index | archive | help
On 07/28/12 04:27, Robert wrote: > On Fri, 27 Jul 2012 11:10:23 +0200 > Guido Falsi <madpilot@FreeBSD.org> wrote: > >> On Thu, Jul 26, 2012 at 07:17:48PM -0700, Robert wrote: >>> >>> Greetings >>> >>> I have been unable to build rxvt-unicode since updating perl to >>> 5.16. I thought I saw an email that someone else had this problem >>> but I cannot find it. >> >> It happened to me on -current. There I worked around it by forcing >> clang as compiler for rxvt-unicode. This should do the trick: >> >> cd /usr/ports/x11/rxvt-unicode && make clean && make CC=clang >> CXX=clang++ CPP=clang-cpp install >> >> Not sure what the cause is. >> > Thanks for this information. This worked as you said. > > If I put this clang information into /etc/make.conf will I need to > rebuild all of my installed ports? > The ports system is not ready to use clang as the only compiler. If you want to add this hack to your make.conf it's better if you do it conditionally only for this port like: .if ${.CURDIR:M*x11/rxvt-unicode*} CC= clang CXX= clang++ CPP= clang-cpp .endif Binaries and library generated with gcc and clang should be compatible with each other, so, if you just compile a few ports with clang, no need to rebuild everything. -- Guido Falsi <madpilot@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50139DA9.7030604>