pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/ezmlm Move -fno-builtin-log hack from Makefile to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f487e7fed2e
branches:  trunk
changeset: 487074:0f487e7fed2e
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sat Jan 08 17:54:34 2005 +0000

description:
Move -fno-builtin-log hack from Makefile to hacks.mk.

diffstat:

 mail/ezmlm/Makefile |  8 +-------
 mail/ezmlm/hacks.mk |  8 ++++++++
 2 files changed, 9 insertions(+), 7 deletions(-)

diffs (32 lines):

diff -r 9d871dd4eef5 -r 0f487e7fed2e mail/ezmlm/Makefile
--- a/mail/ezmlm/Makefile       Sat Jan 08 16:53:25 2005 +0000
+++ b/mail/ezmlm/Makefile       Sat Jan 08 17:54:34 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2004/12/21 04:22:03 schmonz Exp $
+# $NetBSD: Makefile,v 1.14 2005/01/08 17:54:34 schmonz Exp $
 #
 
 .include "../../mail/ezmlm/Makefile.common"
@@ -27,10 +27,4 @@
 .include "../../mk/bsd.prefs.mk"
 .include "options.mk"
 
-.include "../../mk/compiler.mk"
-
-.if !empty(CC_VERSION:Mgcc-*)
-CFLAGS+=               -fno-builtin-log
-.endif
-
 .include "../../mk/bsd.pkg.mk"
diff -r 9d871dd4eef5 -r 0f487e7fed2e mail/ezmlm/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/ezmlm/hacks.mk       Sat Jan 08 17:54:34 2005 +0000
@@ -0,0 +1,8 @@
+# $NetBSD: hacks.mk,v 1.1 2005/01/08 17:54:34 schmonz Exp $
+
+.include "../../mk/compiler.mk"
+
+.if !empty(CC_VERSION:Mgcc-*)
+PKG_HACKS+=            builtin-log
+CFLAGS+=               -fno-builtin-log
+.endif



Home | Main Index | Thread Index | Old Index