$OpenBSD: patch-mpi_config_links,v 1.5 2003/05/27 14:54:43 brad Exp $
--- mpi/config.links.orig	Thu Apr 24 05:15:58 2003
+++ mpi/config.links	Mon May 12 01:42:00 2003
@@ -58,10 +58,8 @@ case "${target}" in
        cat  $srcdir/mpi/i386/syntax.h	 >>./mpi/asm-syntax.h
        path="i386"
        ;;
-# Use old assembler syntax for OpenBSD as their assembler is really old.
     i[34567]86*-*-openbsd*)
-	echo '#define BSD_SYNTAX' >>./mpi/asm-syntax.h
-	echo '#define X86_BROKEN_ALIGN' >>./mpi/asm-syntax.h
+	echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h
 	cat  $srcdir/mpi/i386-openbsd/syntax.h	    >>./mpi/asm-syntax.h
 	path="i386-openbsd"
 	;;
@@ -136,10 +134,10 @@ case "${target}" in
 	path="sparc32v8 sparc32"
 	mpi_extra_modules="udiv"
         ;;
-    sparc64-*-netbsd)
+    sparc64*-*-netbsd* | sparc64*-*-openbsd*)
        # There are no sparc64 assembler modules that work, so
        # just use generic C functions
-       echo '/* configured for sparc64-*netbsd */' >>./mpi/asm-syntax.h
+       echo '/* configured {Open,Net}BSD on sparc64 */' >>./mpi/asm-syntax.h
        path=""
        ;;
     sparc9*-*-*     | \
