math/blas linking to gfortran with LDADD?= -lgfortran

Scot Hetzel swhetzel at
Wed Sep 1 07:12:04 UTC 2010

On Wed, Sep 1, 2010 at 1:31 AM, Scot Hetzel <swhetzel at> wrote:
>> No, it will still take effect, after the math/blas Makefile is parsed,
>> unless _WITHOUT_SRCCONF is defined.  See
>> b.
> I created PR 150174, before I got your reply:
> I changed the port to use the OPTIONS framework to enable/disable
> profiled libraries.  The only thing I didn't take into account was the
> was still pulling in /etc/src.conf.  To fix this we just
> need to add _WITHOUT_SRCCONF to the MAKE_ARGS (should they be
I retested using MAKE_ENV and it works.  Unfortunately, adding

===>  Building for blas-1.0_5
"/usr/share/mk/", line 31: Malformed conditional
(${MK_ASSERT_DEBUG} == "no")
"/usr/share/mk/", line 34: if-less endif
"/usr/share/mk/", line 20: Malformed conditional
(${MK_BIND_LIBS} != "no")

due to _WITHOUT_SRCCONF is preventing from defining these variables.

I found a way to solve this, by defining SRCCONF="", which prevents
/etc/src.conf from being pulled in automatically.


More information about the freebsd-ports mailing list