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.
This commit is contained in:
parent
d6c9a62d35
commit
8e7a8c797a
1 changed files with 9 additions and 0 deletions
9
net/p5-Net-DNS/hacks.mk
Normal file
9
net/p5-Net-DNS/hacks.mk
Normal file
|
@ -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
|
Loading…
Reference in a new issue