Subject: Re: [NetBSD/sparc64] Re: error while compling gnupg
To: None <port-sparc64@netbsd.org, wiz@netbsd.org, wk@gnupg.org, ww@styx.org>
From: None <eeh@netbsd.org>
List: port-sparc64
Date: 01/07/2002 19:56:47
| On Mon, Jan 07, 2002 at 06:37:23PM -0000, eeh@netbsd.org wrote:
| > 
| > Looks like gnupg does not support 64-bit SPARC at the moment.  The 
| > mpi stuff appears to be sparc32 only.
| > 
|  
| Here's a patch suitable for being dropped into gnupg/patches
|
| --- mpi/config.links.orig       Sun Apr 29 07:36:18 2001
| +++ mpi/config.links    Mon Jan  7 14:20:31 2002
| @@ -119,6 +119,12 @@
|         path="sparc32v8 sparc32"
|         mpi_extra_modules="udiv"
|         ;;
| +    sparc64-*-netbsd)
| +       # There are no sparc64 assembler modules that work, so
| +       # just use generic C functions
| +       echo '/* configured for sparc64-*netbsd */' >>./mpi/asm-syntax.h
| +       path=""
| +       ;;
|      sparc9*-*-*     | \
|      sparc64*-*-*    | \
|      ultrasparc*-*-* )
|
|

send-pr it to packages.

Eduardo