[Bug 274239] lang/gnat12: Fix incorrect binutils dependencies and ldconfig paths

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 03 Oct 2023 13:45:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274239

            Bug ID: 274239
           Summary: lang/gnat12: Fix incorrect binutils dependencies and
                    ldconfig paths
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: thierry@FreeBSD.org
          Reporter: nsonack@outlook.com
          Assignee: thierry@FreeBSD.org
             Flags: maintainer-feedback?(thierry@FreeBSD.org)

Created attachment 245405
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=245405&action=edit
Fix for lang/gnat12

Binaries built by the gnat12 compiler that depended on the included
libstdc++.so.6 were broken as no RUNPATH was set and USE_LDCONFIG wasn't setup
properly.

I have tried getting gcc to set the correct RUNPATH but I failed, so instead I
fixed USE_LDCONFIG. Maybe this is wrong, maybe not. I appreciate feedback :-)

Also, I had to move around the binutils dependency because gcc invokes the
assembler but it was not in the RUN_DEPENDS and thus failed to assemble a
simple object.

This is a follow-up for
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274238

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