On Wed, Sep 1, 2010 at 1:31 AM, Scot Hetzel <swhet...@gmail.com> wrote: >> No, it will still take effect, after the math/blas Makefile is parsed, >> unless _WITHOUT_SRCCONF is defined. See bsd.own.mk. >> >> b. >> > > I created PR 150174, before I got your reply: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=150174 > > 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 > bsd.lib.mk was still pulling in /etc/src.conf. To 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:
===> Building for blas-1.0_5 "/usr/share/mk/bsd.lib.mk", line 31: Malformed conditional (${MK_ASSERT_DEBUG} == "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} != "no") : due to _WITHOUT_SRCCONF is preventing bsd.own.mk from defining these variables. I found a way to solve this, by defining SRCCONF="", which prevents /etc/src.conf from being pulled in automatically. Scot _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"