openbsd-ports/security/gnupg/patches/patch-mpi_config_links

19 lines
649 B
Plaintext

$OpenBSD: patch-mpi_config_links,v 1.1 2001/08/09 16:48:35 pvalchev Exp $
--- mpi/config.links.orig Wed Aug 8 20:09:50 2001
+++ mpi/config.links Wed Aug 8 20:09:52 2001
@@ -206,6 +206,14 @@ case "${target}" in
path="powerpc32"
;;
+ powerpc*-*-openbsd*)
+ echo '/* configured OpenBSD on powerpc */' >>./mpi/asm-syntax.h
+ echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h
+ cat $srcdir/mpi/powerpc32/syntax.h >>./mpi/asm-syntax.h
+ mpi_sflags="-Wa,-mppc"
+ path="powerpc32"
+ ;;
+
rs6000-*-aix[456789]* | \
rs6000-*-aix3.2.[456789])
mpi_sflags="-Wa,-mpwr"