> Вот, пожалуйста, собрал.
> Может кому пригодится.Мне пригодился, спасибо!
На 11-й версии отлично собирется, а вот на 12-й уже не хочет.
===============================================================================================
/usr/ports/net/ushare # make
===> NOTICE:
The ushare port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:
https://bugs.freebsd.org/bugzilla
More information about port maintainership is available at:
https://www.freebsd.org/doc/en/articles/contributing/ports-c...
===> ushare-1.1a_10 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by ushare-1.1a_10 for building
===> Extracting for ushare-1.1a_10
=> SHA256 Checksum OK for ushare-1.1a.tar.bz2.
===> Patching for ushare-1.1a_10
===> Applying FreeBSD patches for ushare-1.1a_10
===> ushare-1.1a_10 depends on executable: msgfmt - found
===> ushare-1.1a_10 depends on executable: gmake - found
===> ushare-1.1a_10 depends on package: pkgconf>=1.3.0_1 - found
===> ushare-1.1a_10 depends on shared library: libupnp.so - found (/usr/local/lib/libupnp.so)
===> ushare-1.1a_10 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===> Configuring for ushare-1.1a_10
./configure: gcc: not found
Checking for compiler available...
Checking for locales ...
Checking for ifaddrs ...
Checking for langinfo ...
Checking for iconv ...
Checking for libixml ...
Checking for libthreadutil ...
Error, can't find libthreadutil !
See file "config.log" produced by configure for more details.
===> Script "configure" failed unexpectedly.
Please report the problem to ports@FreeBSD.org [maintainer] and attach the
"/usr/ports/net/ushare/work/ushare-1.1a/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
Stop.
make: stopped in /usr/ports/net/ushare
===============================================================================================
фрагмент лог файла
Checking for libthreadutil ...
check_lib upnp/ThreadPool.h ThreadPoolAdd -lthreadutil -lpthread
check_header upnp/ThreadPool.h
check_cpp
BEGIN /tmp/ushare--41873-.c
1 #include <upnp/ThreadPool.h>
2 int x;
END /tmp/ushare--41873-.c
cc -O2 -pipe -I/usr/local/include -I/usr/ports/net/ushare/work/ushare-1.1a -fstack-protector-strong -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -E -o /tmp/ushare--41873-.o /tmp/ushare--41873-.c
/tmp/ushare--41873-.c:1:10: fatal error: 'upnp/ThreadPool.h' file not found
#include <upnp/ThreadPool.h>
^~~~~~~~~~~~~~~~~~~
1 error generated.
Error, can't find libthreadutil !