summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorschmonz <schmonz>2005-01-08 17:54:34 +0000
committerschmonz <schmonz>2005-01-08 17:54:34 +0000
commit06f203cfbcac3d61205c9fb2e4075fd45a495e0a (patch)
tree5c2d08b982dc87136044422fa41f8645685541f7 /mail
parent91973421bbcfae410e55f8109b725bc194ef5d0b (diff)
downloadpkgsrc-06f203cfbcac3d61205c9fb2e4075fd45a495e0a.tar.gz
Move -fno-builtin-log hack from Makefile to hacks.mk.
Diffstat (limited to 'mail')
-rw-r--r--mail/ezmlm/Makefile8
-rw-r--r--mail/ezmlm/hacks.mk8
2 files changed, 9 insertions, 7 deletions
diff --git a/mail/ezmlm/Makefile b/mail/ezmlm/Makefile
index 50debc56150..3a344b11a93 100644
--- a/mail/ezmlm/Makefile
+++ b/mail/ezmlm/Makefile
@@ -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 @@ INSTALLATION_DIRS= bin man man/man1 man/man5 man/cat1 man/cat5
.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 --git a/mail/ezmlm/hacks.mk b/mail/ezmlm/hacks.mk
new file mode 100644
index 00000000000..98b3b1b2927
--- /dev/null
+++ b/mail/ezmlm/hacks.mk
@@ -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