Date: Sun, 15 Sep 2002 10:48:05 -0700 From: Kris Kennaway <kris@obsecurity.org> To: Jeremy Lea <reg@FreeBSD.org>, Maxim Sobolev <sobomax@FreeBSD.org>, 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: <20020915174805.GA15732@xor.obsecurity.org> In-Reply-To: <20020915125857.GA30691@shale.csir.co.za> References: <200209141332.g8EDW7Yl048862@freefall.freebsd.org> <20020915125857.GA30691@shale.csir.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
--YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 15, 2002 at 02:58:57PM +0200, Jeremy Lea wrote: > 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. >=20 > i.e. something like this: >=20 > MY_DIR!=3Dpwd > .if ${_PARENT_DIRS:S/${MY_DIR}//}!=3D${_PARENT_DIRS:S/ / /g} > .error Recursive build. > .else > _PARENT_DIRS+=3D ${MY_DIR} > .endif > depends: > make _PARENT_DIRS=3D${_PARENT_DIRS} ... >=20 > Thoughts? I like this idea..I've been bitten by circular dependencies in the ports tree before. Can you develop it into a patch I can test on the bento cluster? Kris --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9hMfUWry0BWjoQKURAsLNAKDdKQ9iSIkQryEwG6zXGT0ylI8h+gCffNi/ SrFcESvEvDCy7yhcVshyxXI= =GBwA -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK-- 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?20020915174805.GA15732>