summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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