diff options
author | schmonz <schmonz> | 2004-07-16 00:20:39 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2004-07-16 00:20:39 +0000 |
commit | a5b7fe0fd69a9f646d7b27092f48c80812a6c872 (patch) | |
tree | ab798c207105988e65cae01247e86203d51b1b67 /mail | |
parent | 0abaeae225d4dc974a31d0820e25e8cbf8ee8d18 (diff) | |
download | pkgsrc-a5b7fe0fd69a9f646d7b27092f48c80812a6c872.tar.gz |
This package defines its own log() that disagrees with gcc's builtin.
Add -fno-builtin-log to CFLAGS if compiling with gcc.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ezmlm/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/ezmlm/Makefile b/mail/ezmlm/Makefile index 47224d8f618..e48e705ea82 100644 --- a/mail/ezmlm/Makefile +++ b/mail/ezmlm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2003/07/21 16:56:44 martti Exp $ +# $NetBSD: Makefile,v 1.9 2004/07/16 00:20:39 schmonz Exp $ # .include "../../mail/ezmlm/Makefile.common" @@ -11,4 +11,10 @@ COMMENT= Easy-to-use, high-speed mailing list manager for qmail CONFLICTS= ezmlm-idx-[0-9]* +.include "../../mk/compiler.mk" + +.if !empty(CC_VERSION:Mgcc-*) +CFLAGS+= -fno-builtin-log +.endif + .include "../../mk/bsd.pkg.mk" |