diff options
Diffstat (limited to 'mail/nmh/Makefile')
-rw-r--r-- | mail/nmh/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile index 37edb228586..20c34a7a20f 100644 --- a/mail/nmh/Makefile +++ b/mail/nmh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.62 2006/10/01 07:34:16 dsainty Exp $ +# $NetBSD: Makefile,v 1.63 2006/12/16 13:18:54 schwarz Exp $ DISTNAME= nmh-1.0.4 PKGREVISION= 7 @@ -13,9 +13,6 @@ 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. @@ -23,6 +20,15 @@ CFLAGS+= -O1 # Locks supported by `mail.local' are ".lock" and flock(2). .include "../../mk/bsd.prefs.mk" +# Avoids SEGV in nmh's private version of strcasecmp() under gcc4 +.if !empty(PKGSRC_COMPILER:Mgcc*) +CFLAGS+= -O1 +.endif + +.if !empty(LOWER_OPSYS:Mirix5*) +CPPFLAGS+= -DIRIX5 # for a patch with extra typedefs +.endif + .include "options.mk" # Mail Transport Agent - either "smtp" or "sendmail" |