[Bug 259401] multimedia/mplayer: depend on binutils when -no-integrated-as is used

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 24 Oct 2021 11:22:49 UTC

            Bug ID: 259401
           Summary: multimedia/mplayer: depend on binutils when
                    -no-integrated-as is used
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: riggs@FreeBSD.org
          Reporter: fuz@fuz.su
                CC: riggs@FreeBSD.org
          Assignee: riggs@FreeBSD.org
             Flags: maintainer-feedback?(riggs@FreeBSD.org)
 Attachment #228983 maintainer-approval?(riggs@FreeBSD.org)
             Flags: merge-quarterly?
                CC: riggs@FreeBSD.org

Created attachment 228983
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=228983&action=edit
multimedia/mplayer: depend on binutils when -no-integrated-as is used

Since FreeBSD 13 or so, FreeBSD has stopped shipping binutils.
Unfortunately binutils are what provides the as(1) binary which
is required for the clang option -no-integrated-as to work.  As
a result, multimedia/mplayer, multimedia/mencoder, and possibly
others fail to compile on armv6 and armv7.

The attached patch fixes this problem by adding a BUILD_DEPENDENCY
on as:devel/binutils@native when -no-integrated-as is supplied.

Verified with Poudriere on armv7 FreeBSD 13.

Please MFH if possible.

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