On Fri, Jan 07, 2011 at 01:59:25PM +0000, Anton Shterenlikht wrote: > clamav fails configure on ia64 portscluster because > LLVM is included in default options: > > from > http://pointyhat.freebsd.org/errorlogs/ia64-errorlogs/e.8.20101230091827/clamav-0.96.5_1.log > > configure: error: Failed to configure LLVM, and LLVM was explicitly requested > > With this patch it builds fine on my ia64 box. > > > --- Makefile 2010-12-16 17:43:46.000000000 +0000 > +++ Makefile.new 2011-01-07 13:52:26.000000000 +0000 > @@ -140,7 +140,7 @@ > CONFIGURE_ARGS+=--without-iconv > .endif > > -.if defined(WITH_LLVM) && ${ARCH} != "sparc64" > +.if defined(WITH_LLVM) && ${ARCH} != "sparc64" && ${ARCH} != "ia64" > CONFIGURE_ARGS+=--enable-llvm > USE_GMAKE= yes > . if defined(WITH_TESTS) > > > However, LLVM probably doesn't build on PPC either, so > it might be better to use something like > > .if defined(WITH_LLVM) && ${ARCH} == "i386" | ${ARCH} == "amd64"
I've committed this change, thanks! -- Renato Botelho <garga @ FreeBSD.org> <garga.bsd @ gmail.com> GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc This fortune intentionally not included.
pgpj7oma5TfTR.pgp
Description: PGP signature