aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2016-10-31 16:24:59 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2016-10-31 16:24:59 +0000
commit07e50e0a275f8248f9dc19be7b2d875cd996cc29 (patch)
treef1fce7d047651ec2b68f52360cea7f3faa52ae2e
parentbe6b78815913d8770ae64f1c910d9f8c9362f436 (diff)
Notes
-rw-r--r--security/gnupg1/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile
index b0b21beeebf3..88d7400da82a 100644
--- a/security/gnupg1/Makefile
+++ b/security/gnupg1/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
CPE_VENDOR= gnupg
-USES= charsetfix cpe gmake tar:bzip2
+USES= charsetfix compiler cpe gmake tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-camellia \
--enable-noexecstack
@@ -54,9 +54,9 @@ NLS_CONFIGURE_ENABLE= nls
SUID_GPG_PLIST_SUB= GPGMODE=4555
SUID_GPG_PLIST_SUB_OFF= GPGMODE=
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
-.if ${ARCH} == "i386" && (${CC} == "clang" || ${OSVERSION} >= 1000024)
+.if ${ARCH} == "i386" && ${COMPILER_TYPE} == "clang"
CFLAGS+= -fheinous-gnu-extensions
.endif