diff options
author | schmonz <schmonz> | 2004-07-16 00:20:39 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2004-07-16 00:20:39 +0000 |
commit | 96ec875c88437aa37bac4c153275bf0910088803 (patch) | |
tree | ab798c207105988e65cae01247e86203d51b1b67 /mail | |
parent | d2df9c624614feda6f09c6cc1d85ef702d2cd5d3 (diff) | |
download | pkgsrc-96ec875c88437aa37bac4c153275bf0910088803.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" |