summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2013-02-15 13:44:18 +0000
committerdes <des@FreeBSD.org>2013-02-15 13:44:18 +0000
commite6d4c5218f404b3d9409e27fb0fa1f60413ef6cb (patch)
treed957b587bb5a1e7defbd76792f0b178819595c24 /share
parentb585f0db6b4ff1dffb058cc09881606f50a2dc53 (diff)
parent481a5cc876eaea3ecda6f120c33620aaab58f19d (diff)
downloadFreeBSD-src-e6d4c5218f404b3d9409e27fb0fa1f60413ef6cb.zip
FreeBSD-src-e6d4c5218f404b3d9409e27fb0fa1f60413ef6cb.tar.gz
Import LDNS and build it as an internal library.
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.libnames.mk3
-rw-r--r--share/mk/bsd.own.mk10
2 files changed, 13 insertions, 0 deletions
diff --git a/share/mk/bsd.libnames.mk b/share/mk/bsd.libnames.mk
index 95f9064..82cb76d 100644
--- a/share/mk/bsd.libnames.mk
+++ b/share/mk/bsd.libnames.mk
@@ -85,6 +85,9 @@ LIBKICONV?= ${DESTDIR}${LIBDIR}/libkiconv.a
LIBKRB5?= ${DESTDIR}${LIBDIR}/libkrb5.a
LIBKVM?= ${DESTDIR}${LIBDIR}/libkvm.a
LIBL?= ${DESTDIR}${LIBDIR}/libl.a
+.if ${MK_LDNS} != "no"
+LIBLDNS?= ${DESTDIR}${LIBDIR}/lib_ldns.a
+.endif
LIBLN?= "don't use LIBLN, use LIBL"
.if ${MK_BIND} != "no"
LIBLWRES?= ${DESTDIR}${LIBDIR}/liblwres.a
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index d500586..f2101be 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -295,6 +295,7 @@ __DEFAULT_YES_OPTIONS = \
KERBEROS \
KERNEL_SYMBOLS \
KVM \
+ LDNS \
LEGACY_CONSOLE \
LIB32 \
LIBPTHREAD \
@@ -370,6 +371,7 @@ __DEFAULT_NO_OPTIONS = \
ICONV \
IDEA \
INSTALL_AS_USER \
+ LDNS_UTILS \
NMTREE \
NAND \
OFED \
@@ -471,6 +473,14 @@ MK_BIND_NAMED:= no
MK_BIND_UTILS:= no
.endif
+.if ${MK_LDNS} == "no"
+MK_LDNS_UTILS:= no
+.endif
+
+.if ${MK_LDNS_UTILS} == "no"
+MK_BIND_UTILS:= no
+.endif
+
.if ${MK_BIND_MTREE} == "no"
MK_BIND_ETC:= no
.endif
OpenPOWER on IntegriCloud