summaryrefslogtreecommitdiffstats
path: root/usr.bin/fetch
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-06-05 21:25:33 +0000
committerdes <des@FreeBSD.org>2002-06-05 21:25:33 +0000
commit694ae4fc45588445f667322288d730f7c990fae6 (patch)
tree5712cf527f0fa30f64191a0dbd6e38696cb6b33d /usr.bin/fetch
parent7f7b291518b00d350eb19be5613ba5f44dea5db9 (diff)
downloadFreeBSD-src-694ae4fc45588445f667322288d730f7c990fae6.zip
FreeBSD-src-694ae4fc45588445f667322288d730f7c990fae6.tar.gz
During buildworld, "regular" libraries are built before crypto stuff, so
libfetch can't depend on lib{crypto,ssl}. Move the dependency to fetch until we can figure out how to fix this.
Diffstat (limited to 'usr.bin/fetch')
-rw-r--r--usr.bin/fetch/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/fetch/Makefile b/usr.bin/fetch/Makefile
index 56754a0..06b0fa8 100644
--- a/usr.bin/fetch/Makefile
+++ b/usr.bin/fetch/Makefile
@@ -4,5 +4,9 @@ MAINTAINER= des@freebsd.org
PROG= fetch
DPADD= ${LIBFETCH}
LDADD= -lfetch
+.if !defined(NOCRYPTO)
+DPADD+= ${LIBCRYPTO} ${LIBSSL}
+LDADD+= -lcrypto -lssl
+.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud