summaryrefslogtreecommitdiff
path: root/mail/ezmlm
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2005-01-08 17:54:34 +0000
committerschmonz <schmonz@pkgsrc.org>2005-01-08 17:54:34 +0000
commite253767a2077d06c6a293b35cae56a449eb2f0c4 (patch)
tree5c2d08b982dc87136044422fa41f8645685541f7 /mail/ezmlm
parent9d5c790d4a28bdd35819f8c7aa4f45b87b34b121 (diff)
downloadpkgsrc-e253767a2077d06c6a293b35cae56a449eb2f0c4.tar.gz
Move -fno-builtin-log hack from Makefile to hacks.mk.
Diffstat (limited to 'mail/ezmlm')
-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