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

This commit is contained in:
schmonz 2006-01-02 20:17:48 +00:00
parent 59b6153f1d
commit f2c9f0713c

9
net/dnstracer/hacks.mk Normal file
View file

@ -0,0 +1,9 @@
# $NetBSD: hacks.mk,v 1.1 2006/01/02 20:17:48 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