From owner-freebsd-ports@FreeBSD.ORG Wed Jan 26 11:31:42 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 377BD1065670 for ; Wed, 26 Jan 2011 11:31:42 +0000 (UTC) (envelope-from garga.bsd@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id DE47E8FC14 for ; Wed, 26 Jan 2011 11:31:41 +0000 (UTC) Received: by ywp6 with SMTP id 6so70447ywp.13 for ; Wed, 26 Jan 2011 03:31:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:x-operating-system:user-agent; bh=VLxeOGvIFK6b9rSlATA2fr5L2pUmYpknLL1p1d2q5z0=; b=cMeQHxQ+oMteojgzChMih4z5k6vJrciJqDZ7b90o8Eq5H76OpvGUXx6wGWakT45hEB nT+pJH0rqYN7Ov17gMmjF2Ei+sEW/rD5npWGXHipFwnQkGRPhEjIuGt30JNTcZ8K7bul ktOUmvpKwhTQ+TcUHpprzLXLnLk+IiqwZnvYE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-operating-system :user-agent; b=sX3ox1TU1m483OZrMsVgrj9RQXBbhri4imsEBqhdzOdRBgrxFp4D8RtXeTGjfanHcp stEVXT2xrXnDMrWNp5B9NNYQgJonmtK7EEJyulCE1YDR3bcSpflt63mWpGUdB6JFYD2C JwE//BnQCndCvzizxg1IPEEM61RVlLTtqU55w= Received: by 10.151.84.12 with SMTP id m12mr949645ybl.311.1296039910053; Wed, 26 Jan 2011 03:05:10 -0800 (PST) Received: from bluepex.com (189-19-84-134.dsl.telesp.net.br [189.19.84.134]) by mx.google.com with ESMTPS id a79sm1065308yhd.45.2011.01.26.03.05.07 (version=SSLv3 cipher=RC4-MD5); Wed, 26 Jan 2011 03:05:08 -0800 (PST) Sender: Renato Botelho Date: Wed, 26 Jan 2011 09:05:03 -0200 From: Renato Botelho To: Anton Shterenlikht Message-ID: <20110126110501.GA2993@bluepex.com> References: <20110107135925.GA22055@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: <20110107135925.GA22055@mech-cluster241.men.bris.ac.uk> X-Operating-System: FreeBSD 9.0-CURRENT User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@freebsd.org Subject: Re: clamav makefile patch X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2011 11:31:42 -0000 --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 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--