Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2018 15:52:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 225406] Add lib path for fortran.mk related builds
Message-ID:  <bug-225406-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225406

            Bug ID: 225406
           Summary: Add lib path for fortran.mk related builds
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: db@FreeBSD.org
                CC: freebsd-ports-bugs@FreeBSD.org

Created attachment 190003
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D190003&action=
=3Dedit
Simple patch to fortran.mk to expose the Fortran library path

Due to the libgcc_s problem (See https://wiki.freebsd.org/libgcc%20problem)=
 it
is sometimes necessary to LD_PRELOAD libgcc_s.so in order to make a port wo=
rk
or to even build a port. Also see
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225351 for another exam=
ple.

I am forced with the current framework to do something like
CONFIGURE_ENV=3D LD_PRELOAD=3D"${LOCALBASE}/lib/gcc${_GCC_VER}/libgcc_s.so"
in my Makefile (gnuradio configure)

I propose exposing the LIBPATH from fortran.mk
So we can do something like CONFIGURE_ENV=3D=20
LD_PREFLOAD=3D"${FLIBPATH}/libgcc_s.so"


attached is a tiny path to allow this

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225406-13>