Convert mandoc to LIBADD

While here remove the ugly LDMANDOC
This commit is contained in:
bapt 2014-11-24 22:12:27 +00:00
parent 0d350694ed
commit b6c4c21b20
2 changed files with 2 additions and 5 deletions

View File

@ -21,7 +21,7 @@ _PRIVATELIBS= \
ucl \
unbound
_INTERNALIBS= \
libmandoc \
mandoc \
ohash \
readline \
sm
@ -237,7 +237,6 @@ LDSQLITE3?= ${LIBSQLITE3DIR}/libsqlite3.so
LIBSQLITE3?= ${LIBSQLITE3DIR}/libsqlite3.a
LIBMANDOCDIR= ${ROOTOBJDIR}/lib/libmandoc
LDMANDOC?= ${LIBMANDOCDIR}/libmandoc.a
LIBMANDOC?= ${LIBMANDOCDIR}/libmandoc.a
LIBSMDIR= ${ROOTOBJDIR}/lib/libsm

View File

@ -1,7 +1,6 @@
# $FreeBSD$
MDOCMLDIR= ${.CURDIR}/../../contrib/mdocml
LIBMANDOC= ${.OBJDIR}/../../lib/libmandoc/libmandoc.a
.PATH: ${MDOCMLDIR}
PROG= mandoc
@ -33,7 +32,6 @@ SRCS= ${HTML_SRCS} \
WARNS?= 3
CFLAGS+= -DHAVE_CONFIG_H
DPADD= ${LIBMANDOC}
LDADD= ${LIBMANDOC}
LIBADD= mandoc
.include <bsd.prog.mk>