git: 0053176cbbb9 - main - security/gnupg1: fix build on powerpc

Piotr Kubaj pkubaj at FreeBSD.org
Wed Jun 16 09:00:40 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0053176cbbb9eea53a817fa0db6249be17ea5ab4

commit 0053176cbbb9eea53a817fa0db6249be17ea5ab4
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-16 09:00:23 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-16 09:00:23 +0000

    security/gnupg1: fix build on powerpc
---
 security/gnupg1/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile
index f782ebdc0127..9fe219b39a5d 100644
--- a/security/gnupg1/Makefile
+++ b/security/gnupg1/Makefile
@@ -54,6 +54,8 @@ NLS_CONFIGURE_ENABLE=	nls
 
 .if ${ARCH} == "i386" && ${COMPILER_TYPE} == "clang"
 CFLAGS+=	-fheinous-gnu-extensions
+.elif ${ARCH} == powerpc
+USE_GCC=	yes
 .endif
 
 post-install-DOCS-on:


More information about the dev-commits-ports-main mailing list