Date: Wed, 1 Sep 2010 02:12:03 -0500 From: Scot Hetzel <swhetzel@gmail.com> To: bf1783@gmail.com Cc: maho@freebsd.org, freebsd-ports@freebsd.org Subject: Re: math/blas linking to gfortran with LDADD?= -lgfortran Message-ID: <AANLkTinDezYK5asaBWqMkyx6dUHUhgnXkLH1VrBKNG70@mail.gmail.com> In-Reply-To: <AANLkTi=C-t6m_qSjOGVHETaSv=2hV7X1qkyaOSDD=Ecw@mail.gmail.com> References: <AANLkTinhAPY-PEH_TegMAEx1ejHf_WoEL8KZU%2BoXGhFD@mail.gmail.com> <4C7D76A6.7080401@DataIX.net> <AANLkTi=X6=o6bLy4EcGafiinK0UWjzUUPL6NNM6ad0i8@mail.gmail.com> <AANLkTinVXMOanGiMsBGBgyMtOWpDEUrLzaetZfFXn7p_@mail.gmail.com> <AANLkTin0HJCRUaJqepEESXJ8gO1qSpTx3dhfu6GnfNWZ@mail.gmail.com> <AANLkTi=C-t6m_qSjOGVHETaSv=2hV7X1qkyaOSDD=Ecw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 1, 2010 at 1:31 AM, Scot Hetzel <swhetzel@gmail.com> wrote: >> No, it will still take effect, after the math/blas Makefile is parsed, >> unless _WITHOUT_SRCCONF is defined. =A0See bsd.own.mk. >> >> b. >> > > I created PR 150174, before I got your reply: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D150174 > > I changed the port to use the OPTIONS framework to enable/disable > profiled libraries. =A0The only thing I didn't take into account was the > bsd.lib.mk was still pulling in /etc/src.conf. =A0To fix this we just > need to add _WITHOUT_SRCCONF to the MAKE_ARGS (should they be > MAKE_ENV?). > I retested using MAKE_ENV and it works. Unfortunately, adding _WITHOUT_SRCCONF causes: =3D=3D=3D> Building for blas-1.0_5 "/usr/share/mk/bsd.lib.mk", line 31: Malformed conditional (${MK_ASSERT_DEBUG} =3D=3D "no") "/usr/share/mk/bsd.lib.mk", line 34: if-less endif "/usr/share/mk/bsd.libnames.mk", line 20: Malformed conditional (${MK_BIND_LIBS} !=3D "no") : due to _WITHOUT_SRCCONF is preventing bsd.own.mk from defining these variab= les. I found a way to solve this, by defining SRCCONF=3D"", which prevents /etc/src.conf from being pulled in automatically. Scot
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinDezYK5asaBWqMkyx6dUHUhgnXkLH1VrBKNG70>