Created attachment 190003 [details] 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 work or to even build a port. Also see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225351 for another example. I am forced with the current framework to do something like CONFIGURE_ENV= LD_PRELOAD="${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= LD_PREFLOAD="${FLIBPATH}/libgcc_s.so" attached is a tiny path to allow this
Can you still reproduce after base r328286? If something manages to lose RPATH due to dlopen() or some other trickery then add USES=fortran to inherit LDFLAGS.
(In reply to Jan Beich from comment #1) It's fine now, closing this PR.