Created attachment 150035 [details] Update net/asio to 1.10.4 The latest version available from upstream is 1.10.4, released on October 1st, 2014. The port currently is still installing 1.4.8 -- which was released in February 2011, nearly 4 years ago. Although the upstream's code compiles quite a few binaries (under examples/ and tests/) during install, it does NOT INSTALL them. It is therefor quite wasteful to require boost as well as to compile anything. This update disables these needless compilations.
Auto-assigned to maintainer acm@FreeBSD.org
Take, as acm@ is currently inactive.
Removing boost dependency is totally incorrect: asio includes reference boost so at least run-dependency is needed. I'm also against dropping build step, as it proves that the library is usable. Without it, it asio code fails to compile, we won't know of it unless some consumer fail.
Removing boost-dependency is quite correct. Header-files -- and that's all the port is installing -- are pure data. They don't depend on anything at all. Likewise, ensuring, the headers are usable, would've made sense only if we were installing any binaries. Maybe, some of the examples bundled with the port could be usable to someone, but we never installed anything the port compiled -- and nobody has bothered to ask for it. As things stand, we copy the upstream's data under PREFIX and there is no need to pretend, the port is doing anything else. If the port-maintainer is going to be unreachable for a while, I'll just commit the changes myself...
> Removing boost-dependency is quite correct. Header-files -- and that's all the port is installing -- are pure data. They don't depend on anything at all. They do. They refer to boost and are not usable without it. This is called runtime dependency. > ensuring, the headers are usable, would've made sense only if we were installing any binaries. This is complete nonsense.
A commit references this bug: Author: mi Date: Thu Dec 4 22:01:52 UTC 2014 New revision: 373985 URL: https://svnweb.freebsd.org/changeset/ports/373985 Log: Upgrade from 1.4.8 to 1.10.4. Stop compiling things (tests, examples), which we aren't going to use or install. Instead of LIB-depending on boost, include RUN-dependency on one of boost's header-files. Because we are no longer compiling, we don't need boost installed at package-building time. PR: 195531 Approved by: maintainer timeout (see PR) Changes: head/net/asio/Makefile head/net/asio/distinfo head/net/asio/files/patch-configure head/net/asio/files/patch-include__asio__impl__error_code.ipp head/net/asio/pkg-plist
(In reply to Dmitry Marakasov from comment #5) > This is complete nonsense. I really don't care for such abuse. Please, refrain from contacting me again, Dmitry.