clamav makefile patch
Renato Botelho
garga at freebsd.org
Wed Jan 26 11:31:42 UTC 2011
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20110126/ebdd7de6/attachment.pgp
More information about the freebsd-ports
mailing list