summaryrefslogtreecommitdiffstats
path: root/lib/libmt
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-04-09 21:26:38 +0000
committerbapt <bapt@FreeBSD.org>2015-04-09 21:26:38 +0000
commita609eb65b0f85a5fac050d344345ffc37d3b3377 (patch)
tree4c790ea7a23f00a861b9249fd2f1f6927f1d54df /lib/libmt
parent7952f9855696db5fb0528cd82b4803bd3e752150 (diff)
downloadFreeBSD-src-a609eb65b0f85a5fac050d344345ffc37d3b3377.zip
FreeBSD-src-a609eb65b0f85a5fac050d344345ffc37d3b3377.tar.gz
Convert mt(1) and libmt to LIBADD
While here fix missing link to libbsdxml for libmt Fix overlinking in mt(1) Make add an indirect libmt dependency on bsdxml to allow static linking if needed
Diffstat (limited to 'lib/libmt')
-rw-r--r--lib/libmt/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libmt/Makefile b/lib/libmt/Makefile
index fe54d2f..6fe5920 100644
--- a/lib/libmt/Makefile
+++ b/lib/libmt/Makefile
@@ -5,8 +5,7 @@ SHLIBDIR?= /lib
SRCS= mtlib.c
INCS= mtlib.h
-DPADD= ${LIBSBUF}
-LDADD= -lsbuf
+LIBADD= sbuf bsdxml
MAN= mt.3
OpenPOWER on IntegriCloud