Date: Fri, 25 Jan 2013 15:18:15 +0000 From: Anton Shterenlikht <mexas@bristol.ac.uk> To: Nathaniel W Filardo <nwf@cs.jhu.edu> Cc: freebsd-sparc64@freebsd.org 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> In-Reply-To: <20130123024809.GB30657@gradx.cs.jhu.edu> References: <20130123024809.GB30657@gradx.cs.jhu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> > > +.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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130125151815.GA97166>