security/libgcrypt: Fix build for powerpc/powerpcspe

- Add the missing check for powerpcspe- and powerpc- in mpi/config.links

Submitted by:	jhibbits
Approved by:	cpm (maintainer)
Differential Revision:	https://reviews.freebsd.org/D13854
This commit is contained in:
Carlos J. Puga Medina 2018-01-22 12:32:04 +00:00
parent c3ecee94f7
commit 4eba609e1a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459647

View file

@ -0,0 +1,13 @@
--- mpi/config.links.orig 2018-01-22 12:14:47 UTC
+++ mpi/config.links
@@ -301,8 +301,8 @@ case "${host}" in
mpi_cpu_arch="ppc"
;;
- powerpc*-*-netbsd* | powerpc*-*-openbsd*)
- echo '/* configured {Open,Net}BSD on powerpc */' >>./mpi/asm-syntax.h
+ powerpc*-*-netbsd* | powerpc*-*-openbsd* | powerpc-*-freebsd* | powerpcspe-*-freebsd*)
+ echo '/* configured {Open,Net,Free}BSD 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"