From 98c5b4f39f41dabc9debb61928f5e361f6931854 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Wed, 26 Jan 2011 11:04:40 +0000 Subject: [PATCH] Restrict LLVM to i386 and amd64 since it doesn't build on sparc64, ia64 and probably on ppc Submitted by: Anton Shterenlikht Feature safe: yes --- security/clamav/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/clamav/Makefile b/security/clamav/Makefile index ff2ba2565a6e..0b5080db747b 100644 --- a/security/clamav/Makefile +++ b/security/clamav/Makefile @@ -140,7 +140,7 @@ USE_ICONV= yes CONFIGURE_ARGS+=--without-iconv .endif -.if defined(WITH_LLVM) && ${ARCH} != "sparc64" +.if defined(WITH_LLVM) && ( ${ARCH} == "i386" || ${ARCH} == "amd64" ) CONFIGURE_ARGS+=--enable-llvm USE_GMAKE= yes . if defined(WITH_TESTS)