pkgsrc/mail/qmail/hacks.mk
schmonz 9038d7156c This already had a hack to fix building on OS X with BIND9 system
resolver. Convert it to the less hacky one used elsewhere, mainly
so that I won't miss it when implementing a more general solution
to this common problem.
2006-01-02 21:13:43 +00:00

9 lines
240 B
Makefile

# $NetBSD: hacks.mk,v 1.1 2006/01/02 21:13:43 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