summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjlam <jlam>2005-12-23 04:36:45 +0000
committerjlam <jlam>2005-12-23 04:36:45 +0000
commit36e6da0573a3a5394f02e15b91e3e0c7045f92ea (patch)
treea4308ad6f2e0d3c552b2c366d321ca8e43ed1794 /mail
parent38846a7a83f66337f80075b7ee785a3c98ada6a5 (diff)
downloadpkgsrc-36e6da0573a3a5394f02e15b91e3e0c7045f92ea.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/Makefile4
-rw-r--r--mail/procmail/hacks.mk10
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