aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2020-01-13 06:55:31 +0000
committerCy Schubert <cy@FreeBSD.org>2020-01-13 06:55:31 +0000
commit6692aa840c1fa7e0dce9238bd120ebba6f3cf357 (patch)
treeef3b3f68a5c60cfdbfc080dd6be5047b2c3ee19d
parente12bf34c05dc03c663818d3bd1e3a1e44ccfdb57 (diff)
Notes
-rw-r--r--lib/libunbound/Makefile1
-rw-r--r--usr.sbin/unbound/anchor/Makefile1
-rw-r--r--usr.sbin/unbound/checkconf/Makefile1
-rw-r--r--usr.sbin/unbound/config.h (renamed from contrib/unbound/config.h)1
-rw-r--r--usr.sbin/unbound/control/Makefile1
-rw-r--r--usr.sbin/unbound/daemon/Makefile1
6 files changed, 6 insertions, 0 deletions
diff --git a/lib/libunbound/Makefile b/lib/libunbound/Makefile
index 9814ac63b1611..94a845de47fd2 100644
--- a/lib/libunbound/Makefile
+++ b/lib/libunbound/Makefile
@@ -13,6 +13,7 @@ PRIVATELIB=
PACKAGE= unbound
CFLAGS+= -I${UNBOUNDDIR} -I${LDNSDIR} -I${.OBJDIR}
+CFLAGS+= -I${SRCTOP}/usr.sbin/unbound
SRCS= alloc.c as112.c authzone.c autotrust.c cachedb.c config_file.c \
configlexer.l configparser.y context.c dname.c dns.c dns64.c \
diff --git a/usr.sbin/unbound/anchor/Makefile b/usr.sbin/unbound/anchor/Makefile
index 015949516964a..986c77b02dbcf 100644
--- a/usr.sbin/unbound/anchor/Makefile
+++ b/usr.sbin/unbound/anchor/Makefile
@@ -10,6 +10,7 @@ EXPATDIR= ${SRCTOP}/contrib/expat
PROG= local-unbound-anchor
SRCS= unbound-anchor.c
CFLAGS+= -I${UNBOUNDDIR} -I${LDNSDIR} -I${EXPATDIR}/lib
+CFLAGS+= -I${.CURDIR:H} -I${.CURDIR}
LIBADD= unbound bsdxml ssl crypto pthread
MAN= local-unbound-anchor.8
diff --git a/usr.sbin/unbound/checkconf/Makefile b/usr.sbin/unbound/checkconf/Makefile
index f0415268b378f..c10f7eb909596 100644
--- a/usr.sbin/unbound/checkconf/Makefile
+++ b/usr.sbin/unbound/checkconf/Makefile
@@ -9,6 +9,7 @@ UNBOUNDDIR= ${SRCTOP}/contrib/unbound
PROG= local-unbound-checkconf
SRCS= ub_event.c unbound-checkconf.c worker_cb.c
CFLAGS+= -I${UNBOUNDDIR} -I${LDNSDIR}
+CFLAGS+= -I${.CURDIR:H} -I${.CURDIR}
LIBADD= unbound pthread
MAN= local-unbound-checkconf.8
diff --git a/contrib/unbound/config.h b/usr.sbin/unbound/config.h
index d3e649b42cac8..5f5859a2233f6 100644
--- a/contrib/unbound/config.h
+++ b/usr.sbin/unbound/config.h
@@ -1,5 +1,6 @@
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
+/* $FreeBSD$ */
/* apply the noreturn attribute to a function that exits the program */
#define ATTR_NORETURN __attribute__((__noreturn__))
diff --git a/usr.sbin/unbound/control/Makefile b/usr.sbin/unbound/control/Makefile
index 101d6bf15ca3e..eeadc753f5dda 100644
--- a/usr.sbin/unbound/control/Makefile
+++ b/usr.sbin/unbound/control/Makefile
@@ -9,6 +9,7 @@ UNBOUNDDIR= ${SRCTOP}/contrib/unbound
PROG= local-unbound-control
SRCS= ub_event.c unbound-control.c worker_cb.c
CFLAGS+= -I${UNBOUNDDIR} -I${LDNSDIR}
+CFLAGS+= -I${.CURDIR:H} -I${.CURDIR}
LIBADD= unbound crypto ssl pthread
MAN= local-unbound-control.8
diff --git a/usr.sbin/unbound/daemon/Makefile b/usr.sbin/unbound/daemon/Makefile
index 5af70109d73dd..ee251acee85f5 100644
--- a/usr.sbin/unbound/daemon/Makefile
+++ b/usr.sbin/unbound/daemon/Makefile
@@ -10,6 +10,7 @@ PROG= local-unbound
SRCS= acl_list.c cachedump.c daemon.c remote.c shm_main.c stats.c \
ub_event.c unbound.c worker.c
CFLAGS+= -I${UNBOUNDDIR} -I${LDNSDIR}
+CFLAGS+= -I${.CURDIR:H} -I${.CURDIR}
LIBADD= unbound util ssl crypto pthread
MAN= local-unbound.8 local-unbound.conf.5