diff options
author | schmonz <schmonz@pkgsrc.org> | 2005-01-08 17:54:34 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2005-01-08 17:54:34 +0000 |
commit | 8f2fdc358054443815b9c06db845bbfedda7c948 (patch) | |
tree | 5c2d08b982dc87136044422fa41f8645685541f7 /mail | |
parent | dde39b2dc17a19f0163b699b22cf0eebe2aa4160 (diff) | |
download | pkgsrc-8f2fdc358054443815b9c06db845bbfedda7c948.tar.gz |
Move -fno-builtin-log hack from Makefile to hacks.mk.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ezmlm/Makefile | 8 | ||||
-rw-r--r-- | mail/ezmlm/hacks.mk | 8 |
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 |