security/nettle regression on sparc64 -current, build failed updating from 2.5 to 2.6

Anton Shterenlikht mexas at bristol.ac.uk
Fri Jan 25 15:18:24 UTC 2013


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


More information about the freebsd-sparc64 mailing list