Date: Wed, 26 Jan 2011 09:05:03 -0200 From: Renato Botelho <garga@freebsd.org> To: Anton Shterenlikht <mexas@bristol.ac.uk> Cc: ports@freebsd.org Subject: Re: clamav makefile patch Message-ID: <20110126110501.GA2993@bluepex.com> In-Reply-To: <20110107135925.GA22055@mech-cluster241.men.bris.ac.uk> References: <20110107135925.GA22055@mech-cluster241.men.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--M9NhX3UHpAaciwkO Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: >=20 > from http://pointyhat.freebsd.org/errorlogs/ia64-errorlogs/e.8.2010123009= 1827/clamav-0.96.5_1.log >=20 > configure: error: Failed to configure LLVM, and LLVM was explicitly reque= sted >=20 > With this patch it builds fine on my ia64 box. >=20 >=20 > --- 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+=3D--without-iconv > .endif > =20 > -.if defined(WITH_LLVM) && ${ARCH} !=3D "sparc64" > +.if defined(WITH_LLVM) && ${ARCH} !=3D "sparc64" && ${ARCH} !=3D "ia64" > CONFIGURE_ARGS+=3D--enable-llvm > USE_GMAKE=3D yes > . if defined(WITH_TESTS) >=20 >=20 > However, LLVM probably doesn't build on PPC either, so > it might be better to use something like >=20 > .if defined(WITH_LLVM) && ${ARCH} =3D=3D "i386" | ${ARCH} =3D=3D "amd64" I've committed this change, thanks! --=20 Renato Botelho <garga @ FreeBSD.org> <garga.bsd @ gmail.com> GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc This fortune intentionally not included. --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAk0//90ACgkQ6CRbiSJE7aki1ACgpz9CxydjnEWTgIzNRNT2eq1h TIUAoIcxhBPQvV/9XDpb/GXQr1TNXpqK =n/PN -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110126110501.GA2993>