summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorschmonz <schmonz>2005-09-17 20:58:59 +0000
committerschmonz <schmonz>2005-09-17 20:58:59 +0000
commita4264dc6938d63810797e9b6cc00af2ba0a222f3 (patch)
treeffa7774878ef4c1fe066b2da884192ba28b47c9b /net
parentc353d02fd2f0a9c91f6e49264a211666945f19ec (diff)
downloadpkgsrc-a4264dc6938d63810797e9b6cc00af2ba0a222f3.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.
Diffstat (limited to 'net')
-rw-r--r--net/p5-Net-DNS/hacks.mk9
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