[Bug 269566] New port: lang/mlkit

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 26 Mar 2023 21:40:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269566

--- Comment #4 from Robert Clausecker <fuz@FreeBSD.org> ---
(In reply to serpent7776 from comment #3)

Thank you for your response!

> mlkit doesn't seem to support anything else than amd64, that's why there's ONLY_FOR_ARCH=amd64
https://github.com/melsman/mlkit/issues/115#issuecomment-1326435741

Cool!  This is the kind of thing you should write in ONLY_FOR_ARCHS_REASON.

> DISABLE_MAKE_JOBS is needed, because mlkit_basislibs target depends on mlkit target. I get the following error without it:

You could try to patch the build scripts to make mlkit_basislibs depend on
mlkit.  But leaving in the DISABLE_MAKE_JOBS is fine as a stop gap measure. 
Make sure to report this problem up stream.

> I don't think this requires any specific version of gcc. It does try to invoke gcc specifically though. I can try and see if cc works instead.

Cool!  Keep me posted on what you find.  Ideally, gcc should be depended on by
defining

    USE_GCC= yes

and then configuring the port to use ${CC} and ${CXX} as the compilers (which
USE_GCC will set to the gcc port selected).

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