diff --git a/lib/libfetch/Makefile b/lib/libfetch/Makefile index 3f9ca1c618c1..e45be24dd825 100644 --- a/lib/libfetch/Makefile +++ b/lib/libfetch/Makefile @@ -10,6 +10,7 @@ MAN= fetch.3 CLEANFILES= ftperr.h httperr.h .if !defined(NOCRYPT) && !defined(NO_OPENSSL) +DISTRIBUTION= crypto CFLAGS+= -DWITH_SSL DPADD= ${LIBSSL} ${LIBCRYPTO} LDADD= -lssl -lcrypto diff --git a/usr.bin/fetch/Makefile b/usr.bin/fetch/Makefile index 7b92352453f0..695013d2fd0f 100644 --- a/usr.bin/fetch/Makefile +++ b/usr.bin/fetch/Makefile @@ -6,6 +6,7 @@ WARNS?= 6 DPADD= ${LIBFETCH} LDADD= -lfetch .if !defined(NOCRYPT) && !defined(NO_OPENSSL) +DISTRIBUTION= crypto DPADD+= ${LIBSSL} ${LIBCRYPTO} LDADD+= -lssl -lcrypto .endif