Date: Sun, 15 Sep 2002 14:58:57 +0200 From: Jeremy Lea <reg@FreeBSD.org> To: Maxim Sobolev <sobomax@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/security/openssl Makefile ports/archivers/bzip2 Makefile ports/archivers/unzip Makefile ports/devel/gmake Makefile ports/devel/automake Makefile ports/devel/automake14 Makefile ports/devel/autoconf213 Makefile ports/devel/libtool Makefile ... Message-ID: <20020915125857.GA30691@shale.csir.co.za> In-Reply-To: <200209141332.g8EDW7Yl048862@freefall.freebsd.org> References: <200209141332.g8EDW7Yl048862@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Sat, Sep 14, 2002 at 06:32:07AM -0700, Maxim Sobolev wrote: > Due to popular demant into each port which might be inserted into > dependency list by bsd.port.mk insert anti foot-shooting device, > which prevents infinite fork loop when the user defines > corresponding USE_XXX in global make.conf, command line or > environment. Probably a better fix is to build a list of directories where we have come from in the build and pass this to the sub-makes in the depends targets. Then check to see if we start building in a directory which exists in the lists. i.e. something like this: MY_DIR!=pwd .if ${_PARENT_DIRS:S/${MY_DIR}//}!=${_PARENT_DIRS:S/ / /g} .error Recursive build. .else _PARENT_DIRS+= ${MY_DIR} .endif depends: make _PARENT_DIRS=${_PARENT_DIRS} ... Thoughts? -Jeremy -- FreeBSD - Because the best things in life are free... http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020915125857.GA30691>