[Bug 261247] net-im/tg_owt: Needs USES=perl to build on armv7

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 23 Feb 2022 10:44:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261247

Robert Clausecker <fuz@fuz.su> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #232037|text/x-log                  |text/plain
          mime type|                            |

--- Comment #5 from Robert Clausecker <fuz@fuz.su> ---
Created attachment 232037
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=232037&action=edit
armv7 build failure

See attached build log for an example where it fails on ARM.

Perl is required on ARM only to (work/tg_owt-*/cmake/libvpx.cmake):

# Convert the ASM files from the ARM Developer Suite 1.0.1 syntax to syntax
# accepted by the platform's native assembler (e.g. GNU as from binutils).

It would be possible to make the Perl dependency an ARM-only dependency,
but it's a bit tricky.  To access the ARCH macro you have to include
bsd.port.pre.mk, but after having included that one, it is no longer
possible to add new USES.  So either a hack is needed, or Perl has to be
unconditionally included (which does not seem to be too bad).

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