summaryrefslogtreecommitdiff
path: root/mail/nmh
diff options
context:
space:
mode:
authordsainty <dsainty@pkgsrc.org>2006-10-01 07:34:16 +0000
committerdsainty <dsainty@pkgsrc.org>2006-10-01 07:34:16 +0000
commit9ad5c618818dd374dd9aec8c9ba630d5995b2278 (patch)
tree72833fe9998215bc316f09cdcff5675763367c7f /mail/nmh
parent1785e222031345d1d262638ace08b546123e96c3 (diff)
downloadpkgsrc-9ad5c618818dd374dd9aec8c9ba630d5995b2278.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.