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

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 12 Dec 2024 21:55:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283292

            Bug ID: 283292
           Summary: www/osrm-backend: Attempt to unbundle old version of
                    sol2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: freebsd@mosedal.net

Created attachment 255820
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=255820&action=edit
Patch removing dependency on clang18 and attempts to unbundle old sol2 library

Hi,
I am the maintainer of this port.

I finally found some time to attempt to unbundle the old version of sol2 used
by default, because it caused some build issues with modern Clang on
FreeBSD-Current.
Attached is a patch that:
* Removes the DEBUG option - it did nothing.
* Tries to unbundle the included sol2 library.
* Removes the dependency on Clang 18 for FreeBSD-Current.
* Bumps PORTREVISION

I couldn't figure out how to replace the bundled sol2 library's include path
using REINPLACE_CMD - that's why that modification is its own separate file and
not part of the Makefile. If anyone can find a better way of doing so, you have
my permission to modify the command. I should also note that the path to sol2
is hardcoded to /usr/local/include/sol because of the previous issue - if it
can be fixed to be more generic, that's fine by me.

All the best,

Peter.

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