diff options
author | schmonz <schmonz@pkgsrc.org> | 2005-09-17 20:58:59 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2005-09-17 20:58:59 +0000 |
commit | 8e7a8c797a60edf482daeb8ea7ffa453178f55f5 (patch) | |
tree | ffa7774878ef4c1fe066b2da884192ba28b47c9b | |
parent | d6c9a62d3578d31a79ec5e039bf033f1dfbc8474 (diff) | |
download | pkgsrc-8e7a8c797a60edf482daeb8ea7ffa453178f55f5.tar.gz |
Fix build on OS X with BIND9 system resolver by defining BIND_8_COMPAT.
(This needs to be fixed more generally across pkgsrc post-freeze.)
Reviewed by wiz.
-rw-r--r-- | net/p5-Net-DNS/hacks.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/net/p5-Net-DNS/hacks.mk b/net/p5-Net-DNS/hacks.mk new file mode 100644 index 00000000000..babe0f56dc6 --- /dev/null +++ b/net/p5-Net-DNS/hacks.mk @@ -0,0 +1,9 @@ +# $NetBSD: hacks.mk,v 1.1 2005/09/17 20:58:59 schmonz Exp $ + +.include "../../mk/bsd.prefs.mk" + +# Fix build on OS X with BIND9 system resolver +.if ${OPSYS} == "Darwin" +PKG_HACKS+= macosx-bind9-bind8compat +CFLAGS+= -DBIND_8_COMPAT=1 +.endif |