summaryrefslogtreecommitdiff
path: root/mail/nmh
diff options
context:
space:
mode:
authordsainty <dsainty>2006-10-01 07:34:16 +0000
committerdsainty <dsainty>2006-10-01 07:34:16 +0000
commit7e17828c2a9dc8eb3ba68b5c57b4258ed006bfed (patch)
tree72833fe9998215bc316f09cdcff5675763367c7f /mail/nmh
parent9ffecd9a2d02e88a2cf592bbf438e25f3ad15b64 (diff)
downloadpkgsrc-7e17828c2a9dc8eb3ba68b5c57b4258ed006bfed.tar.gz
Workaround for SEGV problem running nmh utilities built with gcc4 by reducing optimisation. Allows nmh code to use nmh's private non-standard strcasecmp(). Bump PKGREVISION. Addresses PR34027.
Diffstat (limited to 'mail/nmh')
-rw-r--r--mail/nmh/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile
index 56780efa071..37edb228586 100644
--- a/mail/nmh/Makefile
+++ b/mail/nmh/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.61 2005/12/29 06:21:51 jlam Exp $
+# $NetBSD: Makefile,v 1.62 2006/10/01 07:34:16 dsainty Exp $
DISTNAME= nmh-1.0.4
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= mail
MASTER_SITES= ftp://ftp.mhost.com/pub/nmh/ \
ftp://ftp.gw.com/pub/unix/mail/mh/nmh/
@@ -13,6 +13,9 @@ COMMENT= Cleaned up MH mailer suite
CONFLICTS= ja-mh-[0-9]*
CONFLICTS+= ja-mh6-[0-9]*
+# Avoids SEGV in nmh's private version of strcasecmp() under gcc4
+CFLAGS+= -O1
+
# We choose DOT_LOCKING in our patches because ".lock" files are
# the most common locking mechanism supported by mail software.
# It also works well over NFS.