summaryrefslogtreecommitdiff
path: root/security/kth-krb4/hacks.mk
diff options
context:
space:
mode:
Diffstat (limited to 'security/kth-krb4/hacks.mk')
-rw-r--r--security/kth-krb4/hacks.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/security/kth-krb4/hacks.mk b/security/kth-krb4/hacks.mk
new file mode 100644
index 00000000000..ab1c5dd4059
--- /dev/null
+++ b/security/kth-krb4/hacks.mk
@@ -0,0 +1,9 @@
+# $NetBSD: hacks.mk,v 1.1 2007/05/30 09:10:26 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