Re: Arcana of the ports build system

From: Gleb Popov <arrowd_at_freebsd.org>
Date: Mon, 06 Jan 2025 14:00:21 UTC
On Mon, Jan 6, 2025 at 4:05 PM George Mitchell <george+freebsd@m5p.com> wrote:
>
> /usr/ports/editors/abiword/Makefile includes these lines:
>
> COLSERVICE_BROKEN=              Does not build with asio from system
> COLSERVICE_BUILD_DEPENDS=       ${LOCALBASE}/include/asio.hpp:net/asio
> COLSERVICE_LIB_DEPENDS=         libsoup-2.4.so:devel/libsoup \
>                                  libgnutls.so:security/gnutls
> COLSERVICE_RUN_DEPENDS=         ${LOCALBASE}/include/asio.hpp:net/asio
> COLSERVICE_CONFIGURE_ENABLE=    collab-backend-service
>
> Now in fact I have net/asio installed, and /usr/local/include/asio.hpp
> exists.  But attempting to build abiword stops and complains:
> Does not build with asio from system
> As far as I can tell, no such thing as "asio from system" even exists.

The "system" term here means "installed into system-wide prefix" or in
other words "coming from pkg install".
The antonym to "system" in this context is "bundled". I presume that
Abiword has an option to build with asio that comes together with
Abiword itself.