aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2017-11-27 01:52:21 +0800
committerdinoex <dinoex@FreeBSD.org>2017-11-27 01:52:21 +0800
commitbccf3c7d7ac75496e13c5279b0aa8953cd143ed1 (patch)
treeb8bf77bcdcf1f2d4bc7b47b86e46883fea487126
parent7c93220e8fad5ecba406548d091893c922e43d3e (diff)
downloadfreebsd-ports-gnome-bccf3c7d7ac75496e13c5279b0aa8953cd143ed1.tar.gz
freebsd-ports-gnome-bccf3c7d7ac75496e13c5279b0aa8953cd143ed1.tar.zst
freebsd-ports-gnome-bccf3c7d7ac75496e13c5279b0aa8953cd143ed1.zip
- fix regression with clang 4.0.0
PR: 223702
-rw-r--r--mail/sid-milter/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/sid-milter/Makefile b/mail/sid-milter/Makefile
index 49b1780efc6d..34fbcfb50c8d 100644
--- a/mail/sid-milter/Makefile
+++ b/mail/sid-milter/Makefile
@@ -2,7 +2,7 @@
PORTNAME= sid-milter
PORTVERSION= 1.0.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= mail
MASTER_SITES= SF/${PORTNAME}/SenderID%20Milter/${PORTVERSION}
@@ -11,7 +11,8 @@ COMMENT= Milter module for sid and spf
RESTRICTED= May incorporate intellectual property, possible patent issues
-CFLAGS+= -std=gnu89
+# on FreeBSD 11 optimized code fails with 'MalformedDomain'
+CFLAGS:= ${CFLAGS:S/-O2//g}
WCONF= ${WRKSRC}/devtools/Site
DOCSFILES= FEATURES INSTALL KNOWNBUGS LICENSE README README-SenderID \
RELEASE_NOTES rfc4406.txt rfc4407.txt rfc4408.txt