diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-08-12 00:19:38 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-08-12 01:37:48 +0000 |
commit | 9cceb3f6c1f777bc2625c6dc12965051461fb2c5 (patch) | |
tree | 30ba0e5a22ebdbbeb19030d5beedd9de0d64d82f | |
parent | 100d9fe6207c6d99d6f712a6c756a9ec2f5f88f5 (diff) | |
download | ports-9cceb3f6c1f777bc2625c6dc12965051461fb2c5.tar.gz ports-9cceb3f6c1f777bc2625c6dc12965051461fb2c5.zip |
security/gnupg1: drop GCC on powerpc
Binutils are necessary:
cc: error: unsupported argument '-mppc' to option 'Wa,'
-rw-r--r-- | security/gnupg1/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile index b0ede8602c13..54957a169c77 100644 --- a/security/gnupg1/Makefile +++ b/security/gnupg1/Makefile @@ -1,6 +1,6 @@ PORTNAME= gnupg PORTVERSION= 1.4.23 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security MASTER_SITES= GNUPG PKGNAMESUFFIX= 1 @@ -53,10 +53,13 @@ NLS_CONFIGURE_ENABLE= nls .include <bsd.port.pre.mk> -.if ${ARCH} == "i386" && ${COMPILER_TYPE} == "clang" +.if (${ARCH} == "i386" || ${ARCH} == "powerpc") && ${COMPILER_TYPE} == "clang" CFLAGS+= -fheinous-gnu-extensions -.elif ${ARCH} == powerpc -USE_GCC= yes +.endif + +.if ${ARCH} == "powerpc" && ${COMPILER_TYPE} == "clang" +BUILD_DEPENDS+= as:devel/binutils +CFLAGS+= -fno-integrated-as .endif post-install-DOCS-on: |