diff options
-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: |