проверяю версию wget
pkg version -v | grep wget wget-1.15_1 < needs updating (index has 1.18)
обновляю wget
portupgrade wget-1.15_1
ошибка
gmake[1]: выход из каталога «/usr/ports/ftp/wget/work/wget-1.18» gmake: *** [Makefile:1364: all] Ошибка 2 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** [do-build] Error code 1
В файл /etc/make.conf добавляю строку
MAKE_JOBS_UNSAFE="yes"
обновляю wget
portupgrade wget-1.15_1
Ошибка
openssl.o: In function `ssl_init': openssl.c:(.text+0x11f1): undefined reference to `TLSv1_2_client_method' openssl.c:(.text+0x13a1): undefined reference to `TLSv1_1_client_method' gmake[3]: *** [Makefile:1501: wget] Error 1
Проверяю версию openssl
pkg version -v | grep ssl openssl-1.0.2_15,1 < needs updating (index has 1.0.2j_1,1)
Обновляю openssl
portupgrade openssl-1.0.2_15,1
После чего обновляю wget
portupgrade wget-1.15_1