diff options
author | sbd <sbd@pkgsrc.org> | 2011-10-31 22:58:45 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2011-10-31 22:58:45 +0000 |
commit | 5d07efc23d93dd8e8e1f239269061e6afde2c60b (patch) | |
tree | a3dd302952359da1f6bfaa7880ffeb73d05fe19b /mail/procmail/Makefile | |
parent | b867811bb1aed6027595f966c701a37a07724936 (diff) | |
download | pkgsrc-5d07efc23d93dd8e8e1f239269061e6afde2c60b.tar.gz |
The infinite loop noted in PR#30999 is cause by inlining functions on
any system, so inline functions should alway be disabled.
Diffstat (limited to 'mail/procmail/Makefile')
-rw-r--r-- | mail/procmail/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/procmail/Makefile b/mail/procmail/Makefile index 6cfd1682fc8..015e5baa2ca 100644 --- a/mail/procmail/Makefile +++ b/mail/procmail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.45 2010/01/27 18:14:05 joerg Exp $ +# $NetBSD: Makefile,v 1.46 2011/10/31 22:58:45 sbd Exp $ # DISTNAME= procmail-3.22 @@ -30,6 +30,10 @@ PROCMAIL_TRUSTED_IDS?=\ INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 +### Inlining functions (implied by -O3 or higher) cause the strstr() test +### to enter an infinite loop so disable it. This fixes PR pkg/30999. +CFLAGS+= -fno-inline-functions + pre-configure: ${ECHO} "#define TRUSTED_IDS {${PROCMAIL_TRUSTED_IDS:Q}}" \ >> ${WRKSRC}/config.h |