net/libarcus fails to install

Torfinn Ingolfsen tingox at gmail.com
Thu Dec 31 10:11:27 UTC 2020


On Thu, Dec 31, 2020 at 12:59 AM Shane Ambler <FreeBSD at shaneware.biz> wrote:
>
> On 31/12/20 7:49 am, Diane Bruce wrote:
> > On Wed, Dec 30, 2020 at 11:01:05AM +1030, Shane Ambler wrote:
> >>
> >> The issue is in cmake - I have just reported it as a bug
> >>
> >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252277
> >
> > Thanks for tracking this down! This bug of course fails to show
> > up on poudriere.
>
> poudriere builds ports in a clean environment, there is usually just one
> python version available when it builds a port.
>
> >>
> >> For a workaround try adding the following to the end of the libarcus
> >> Makefile (above the last .include line) indents are tabs not spaces
> >> The same addition should also work for libsavitar
> >>
> >> post-patch:
> >>      ${REINPLACE_CMD} -e 's|VERSION_LESS 3.12|VERSION_LESS 4.12|g' \
> >>              ${WRKSRC}/CMakeLists.txt \
> >>              ${WRKSRC}/cmake/FindSIP.cmake
> >>
> >
> > Should we do this for now? Or wait for CMake to be fixed?
> > I can certainly add this snippet to the port for now.
>
> You can use that yourself to allow you to build your own ports until
> cmake gets an update relating to this.

(for completeness) I can confirm that the workaround works, for both
libarcus and libsavitar.
Thanks!
-- 
Regards,
Torfinn Ingolfsen


More information about the freebsd-ports mailing list