Compile bind against the resolver in libbind for now. Unfortunately this
includes the slower IRS getpwent() and friends, but that's better than nothing.
This commit is contained in:
parent
5ee6eb7515
commit
b3fc5d84c1
@ -9,11 +9,12 @@ USE_LIBBIND= true
|
||||
PROG= named
|
||||
SRCS= tmp_version.c pathnames.h \
|
||||
db_dump.c db_load.c db_lookup.c db_save.c db_update.c \
|
||||
db_glue.c \
|
||||
ns_parser.y ns_lexer.c ns_parseutil.c \
|
||||
db_glue.c db_ixfr.c db_sec.c db_tsig.c \
|
||||
ns_parser.y ns_lexer.c ns_parseutil.c ns_ctl.c \
|
||||
ns_forw.c ns_init.c ns_main.c ns_maint.c ns_req.c \
|
||||
ns_resp.c ns_stats.c ns_ncache.c ns_xfr.c ns_glue.c \
|
||||
ns_udp.c ns_config.c ns_update.c
|
||||
ns_udp.c ns_config.c ns_update.c ns_ixfr.c ns_signal.c \
|
||||
ns_sort.c ns_notify.c
|
||||
MAN8= named.8
|
||||
|
||||
afterinstall:
|
||||
|
@ -21,7 +21,8 @@ CFLAGS+= -I${BIND_DIR}/port/freebsd/include
|
||||
# This is mostly for named and named-xfer
|
||||
.if defined(USE_LIBBIND)
|
||||
# Sadly, mkdep doesn't know about -idirafter, which would be ideal here.
|
||||
CFLAGS+= -I${DESTDIR}/usr/include -I${BIND_DIR}/include
|
||||
#CFLAGS+= -I${.CURDIR}/../../include -I${BIND_DIR}/include
|
||||
CFLAGS+= -I${BIND_DIR}/include
|
||||
|
||||
.if exists(${.OBJDIR}/../../lib/libbind)
|
||||
LIBBINDDIR:= ${.OBJDIR}/../../lib/libbind
|
||||
|
Loading…
Reference in New Issue
Block a user