pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/smtpd Add hack to fix build on OS X with BIND...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88c63b94ebf8
branches:  trunk
changeset: 505317:88c63b94ebf8
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon Jan 02 19:49:01 2006 +0000

description:
Add hack to fix build on OS X with BIND9 system resolver.

diffstat:

 security/smtpd/hacks.mk |  9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 57203b68d348 -r 88c63b94ebf8 security/smtpd/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/smtpd/hacks.mk   Mon Jan 02 19:49:01 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index