[Bug 283292] www/osrm-backend: Attempt to unbundle old version of sol2

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 15 Dec 2024 04:09:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283292

Robert Clausecker <fuz@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fuz@FreeBSD.org

--- Comment #2 from Robert Clausecker <fuz@FreeBSD.org> ---
Thank you for this patch.  Unfortunately it hard codes the assumption that
LOCALBASE is /usr/local, which is not guaranteed to be the case.  Instead of
adding the patch, you can add something like the following to the Makefile to
make it work correctly:

    pre-configure:
            ${REINPLACE_CMD} -e
's,$${CMAKE_CURRENT_SOURCE_DIR}/third_party/sol2/include,${LOCALBASE}/include/sol,'
${WRKSRC}/CMakeLists.txt

Please check if that works out.

-- 
You are receiving this mail because:
You are the assignee for the bug.