diff options
author | jlam <jlam@pkgsrc.org> | 2005-12-23 04:36:45 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-12-23 04:36:45 +0000 |
commit | fb9673b887babf991005bfc90412a9ef54fc83cb (patch) | |
tree | a4308ad6f2e0d3c552b2c366d321ca8e43ed1794 /mail | |
parent | 79ee439b2dab64306bb2136859cbcd9ac9c579ea (diff) | |
download | pkgsrc-fb9673b887babf991005bfc90412a9ef54fc83cb.tar.gz |
Apply hack noted in PR pkg/30999 -- turn off inline functions when
compiling in order to fix an infinite loop error on Solaris.
Bump the PKGREVISION to 2.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/procmail/Makefile | 4 | ||||
-rw-r--r-- | mail/procmail/hacks.mk | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/mail/procmail/Makefile b/mail/procmail/Makefile index 252e736d85d..c9cb44dcff7 100644 --- a/mail/procmail/Makefile +++ b/mail/procmail/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.38 2005/12/05 20:50:35 rillig Exp $ +# $NetBSD: Makefile,v 1.39 2005/12/23 04:36:45 jlam Exp $ # DISTNAME= procmail-3.22 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= mail MASTER_SITES= ftp://ftp.procmail.org/pub/procmail/ diff --git a/mail/procmail/hacks.mk b/mail/procmail/hacks.mk new file mode 100644 index 00000000000..01855ab68d1 --- /dev/null +++ b/mail/procmail/hacks.mk @@ -0,0 +1,10 @@ +# $NetBSD: hacks.mk,v 1.1 2005/12/23 04:36:45 jlam Exp $ + +### [Fri Dec 23 04:33:11 UTC 2005 : jlam] +### Inlining functions seems to cause strstr() to enter an infinite loop +### on Solaris, so disable it. This fixes PR pkg/30999. +### +.if ${OPSYS} == "SunOS" +PKG_HACKS+= solaris-inline +CFLAGS+= -fno-inline-functions +.endif |