pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/ezmlm This package defines its own log() that dis...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/16c204b5ff58
branches:  trunk
changeset: 478064:16c204b5ff58
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Fri Jul 16 00:20:39 2004 +0000

description:
This package defines its own log() that disagrees with gcc's builtin.
Add -fno-builtin-log to CFLAGS if compiling with gcc.

diffstat:

 mail/ezmlm/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r c7e84bfe2d54 -r 16c204b5ff58 mail/ezmlm/Makefile
--- a/mail/ezmlm/Makefile       Thu Jul 15 23:13:36 2004 +0000
+++ b/mail/ezmlm/Makefile       Fri Jul 16 00:20:39 2004 +0000
@@ -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 @@
 
 CONFLICTS=     ezmlm-idx-[0-9]*
 
+.include "../../mk/compiler.mk"
+
+.if !empty(CC_VERSION:Mgcc-*)
+CFLAGS+=       -fno-builtin-log
+.endif
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index