aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2013-10-26 13:38:49 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2013-10-26 13:38:49 +0000
commit029df170ca4da73060bf74460a32f3625028fc71 (patch)
tree74576be4b8ef6cc8b0f293ce5a8831ef61e1ef94 /usr.sbin
parente889db8841c9d8a2d703e5d631e8597bcc7ec24a (diff)
downloadsrc-029df170ca4da73060bf74460a32f3625028fc71.tar.gz
src-029df170ca4da73060bf74460a32f3625028fc71.zip
Link in libcrypto as well to fix build in some cases.
Approved by: bapt MFC after: 2 days Reported by: many
Notes
Notes: svn path=/head/; revision=257158
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/pkg/Makefile b/usr.sbin/pkg/Makefile
index 88f8d66447f0..9cf78cd3421a 100644
--- a/usr.sbin/pkg/Makefile
+++ b/usr.sbin/pkg/Makefile
@@ -6,8 +6,9 @@ SRCS= pkg.c dns_utils.c config.c
NO_MAN= yes
CFLAGS+=-I${.CURDIR}/../../contrib/libyaml/include
.PATH: ${.CURDIR}/../../contrib/libyaml/include
-DPADD= ${LIBARCHIVE} ${LIBELF} ${LIBFETCH} ${LIBYAML} ${LIBSBUF}
-LDADD= -larchive -lelf -lfetch -lyaml -lsbuf -lssl
+DPADD= ${LIBARCHIVE} ${LIBELF} ${LIBFETCH} ${LIBYAML} ${LIBSBUF} ${LIBSSL} \
+ ${LIBCRYPTO}
+LDADD= -larchive -lelf -lfetch -lyaml -lsbuf -lssl -lcrypto
USEPRIVATELIB= yaml
.include <bsd.prog.mk>