From owner-freebsd-sparc64@FreeBSD.ORG Fri Jan 25 15:18:24 2013 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7A0AFC74 for ; Fri, 25 Jan 2013 15:18:24 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 3B4DD24A for ; Fri, 25 Jan 2013 15:18:23 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1Tyl2n-0007NY-4c; Fri, 25 Jan 2013 15:18:17 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Tyl2m-00030u-HB; Fri, 25 Jan 2013 15:18:16 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6) with ESMTP id r0PFIGQL099599; Fri, 25 Jan 2013 15:18:16 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6/Submit) id r0PFIFPR099590; Fri, 25 Jan 2013 15:18:15 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 25 Jan 2013 15:18:15 +0000 From: Anton Shterenlikht To: Nathaniel W Filardo Subject: Re: security/nettle regression on sparc64 -current, build failed updating from 2.5 to 2.6 Message-ID: <20130125151815.GA97166@mech-cluster241.men.bris.ac.uk> References: <20130123024809.GB30657@gradx.cs.jhu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130123024809.GB30657@gradx.cs.jhu.edu> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2013 15:18:24 -0000 On Tue, Jan 22, 2013 at 09:48:09PM -0500, Nathaniel W Filardo wrote: > The following patch suffices for me by working around the ./configure > script's nominal smarts, but I am not sure it is the right fix. Hope it > helps you, too. > --nwf; > > diff --git a/security/nettle/Makefile b/security/nettle/Makefile > index 656098d..fcc73ae 100644 > --- a/security/nettle/Makefile > +++ b/security/nettle/Makefile > @@ -35,6 +35,10 @@ INFO= nettle > > .include > > +.if ${ARCH} == "sparc64" > +CONFIGURE_ENV= "CCPIC=-fPIC" > +.endif > + > post-install: > .if ${PORT_OPTIONS:MEXAMPLES} > @${MKDIR} ${EXAMPLESDIR} > yes, this helped: ===> Registering installation for nettle-2.6 Installing nettle-2.6... done # Is there an easy test I can run on it? Thanks Anton