summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2005-12-23 04:36:45 +0000
committerjlam <jlam>2005-12-23 04:36:45 +0000
commit5554a9a8597cc90848ef68bb1c9c3132711c29bb (patch)
treea4308ad6f2e0d3c552b2c366d321ca8e43ed1794
parentb7f9792d23cbdbe6acc7a3a9c4c8fc5da5fbeeba (diff)
downloadpkgsrc-5554a9a8597cc90848ef68bb1c9c3132711c29bb.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.
-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