summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2006-01-02 19:49:01 +0000
committerschmonz <schmonz@pkgsrc.org>2006-01-02 19:49:01 +0000
commit4e74609415c44555395b71f691eaf0d0eff191d0 (patch)
treed3b8ff6223ff34ef68605d869e9f87db1a0f725f /security
parent58ec1a959c21d532410d02f1381cd2ee463d9c33 (diff)
downloadpkgsrc-4e74609415c44555395b71f691eaf0d0eff191d0.tar.gz
Add hack to fix build on OS X with BIND9 system resolver.
Diffstat (limited to 'security')
-rw-r--r--security/smtpd/hacks.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/security/smtpd/hacks.mk b/security/smtpd/hacks.mk
new file mode 100644
index 00000000000..5db033af4aa
--- /dev/null
+++ b/security/smtpd/hacks.mk
@@ -0,0 +1,9 @@
+# $NetBSD: hacks.mk,v 1.1 2006/01/02 19:49:01 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