From owner-cvs-all Sun Sep 15 10:48: 8 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 039AC37B400; Sun, 15 Sep 2002 10:48:07 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-165-226-88.dsl.lsan03.pacbell.net [64.165.226.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6090943E6A; Sun, 15 Sep 2002 10:48:06 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D812066B8A; Sun, 15 Sep 2002 10:48:05 -0700 (PDT) Date: Sun, 15 Sep 2002 10:48:05 -0700 From: Kris Kennaway To: Jeremy Lea , Maxim Sobolev , 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> References: <200209141332.g8EDW7Yl048862@freefall.freebsd.org> <20020915125857.GA30691@shale.csir.co.za> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YZ5djTAD1cGYuMQK" Content-Disposition: inline In-Reply-To: <20020915125857.GA30691@shale.csir.co.za> User-Agent: Mutt/1.4i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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