summaryrefslogtreecommitdiff
path: root/security/smtpd
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
commit5704d2a38afc7df5ec273cc3a4dd4343ac513c28 (patch)
treed3b8ff6223ff34ef68605d869e9f87db1a0f725f /security/smtpd
parent8d70561c430aab34c875c0487c672bd3421b0159 (diff)
downloadpkgsrc-5704d2a38afc7df5ec273cc3a4dd4343ac513c28.tar.gz
Add hack to fix build on OS X with BIND9 system resolver.
Diffstat (limited to 'security/smtpd')
-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