pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/p5-Net-DNS Fix build on OS X with BIND9 system res...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ff6121a6ecf
branches:  trunk
changeset: 499277:4ff6121a6ecf
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sat Sep 17 20:58:59 2005 +0000

description:
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:

 net/p5-Net-DNS/hacks.mk |  9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 1a4b31e98c07 -r 4ff6121a6ecf net/p5-Net-DNS/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-Net-DNS/hacks.mk   Sat Sep 17 20:58:59 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index