On 17 December 2011 16:32, Jan Beich <[email protected]> wrote: > Chris Rees <[email protected]> writes: > >>> as seen here: >>> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=295602+0+/usr/local/www/db/text/2011/cvs-all/20111113.cvs-all >> >> I don't like the proposed solution; it's less hackish to just use >> gmake again; most people have it installed anyway.... > > A non-hackish solution would involve fixing sys.mk to guard against > recursive inclusion of __MAKE_CONF. bsd.port.mk is known to have > this when using make(1) for do-build. > > Not that I mind shoving the issue under the carpet by using gmake. > > Index: share/mk/sys.mk > =================================================================== > --- share/mk/sys.mk (revision 228500) > +++ share/mk/sys.mk (working copy) > @@ -306,10 +306,13 @@ YFLAGS ?= -d > ${CTFCONVERT_CMD} > > # FreeBSD build pollution. Hide it in the non-POSIX part of the ifdef. > +.if !defined(__MAKE_CONF_INCLUDED) > +__MAKE_CONF_INCLUDED= > __MAKE_CONF?=/etc/make.conf > .if exists(${__MAKE_CONF}) > .include "${__MAKE_CONF}" > .endif > +.endif > > .if defined(__MAKE_SHELL) && !empty(__MAKE_SHELL) > SHELL= ${__MAKE_SHELL}
Ah now there is a better solution :) I'll see if we can get it in the tree. Thanks, Chris _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[email protected]"
