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"

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to