Include libmd and libcrypto in DPADD

This commit is contained in:
Tim Kientzle 2009-05-30 17:26:55 +00:00
parent d4da719cf6
commit 0b3daf486d

View File

@ -2,7 +2,7 @@
.include <bsd.own.mk>
LIB= archive
DPADD= ${LIBBZ2} ${LIBZ}
DPADD= ${LIBBZ2} ${LIBZ} ${LIBMD}
LDADD= -lbz2 -lz -lmd
# FreeBSD SHLIB_MAJOR value is managed as part of the FreeBSD system.
@ -12,15 +12,16 @@ SHLIB_MAJOR= 4
CFLAGS+= -DPLATFORM_CONFIG_H=\"config_freebsd.h\"
CFLAGS+= -I${.OBJDIR}
#Uncomment to build with full lzma/xz support via liblzma
#liblzma is not (yet?) part of the FreeBSD base system
#CFLAGS+= -I/usr/local/include -DHAVE_LIBLZMA=1 -DHAVE_LZMA_H=1
#LDADD+= -L/usr/local/lib -llzma
.if ${MK_OPENSSL} != "no"
CFLAGS+= -DWITH_OPENSSL
LDFLAGS+= -lcrypto
DPADD+= ${LIBCRYPTO}
LDADD+= -lcrypto
.endif
WARNS?= 6
# Headers to be installed in /usr/include