From owner-freebsd-ports Sat Apr 7 19: 4:33 2001 Delivered-To: freebsd-ports@freebsd.org Received: from hub.lovett.com (hub.lovett.com [216.60.121.161]) by hub.freebsd.org (Postfix) with ESMTP id 343AF37B422; Sat, 7 Apr 2001 19:04:29 -0700 (PDT) (envelope-from ade@lovett.com) Received: from ade by hub.lovett.com with local (Exim 3.22 #1) id 14m4XY-0003YI-00; Sat, 07 Apr 2001 21:02:56 -0500 Date: Sat, 7 Apr 2001 21:02:56 -0500 From: Ade Lovett To: Akinori MUSHA Cc: portmgr@FreeBSD.org, FreeBSD-ports Subject: Re: extension of DEPENDS_TARGET Message-ID: <20010407210256.A13333@FreeBSD.org> References: <867l196n6s.wl@archon.local.idaemons.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <867l196n6s.wl@archon.local.idaemons.org>; from knu@iDaemons.org on Thu, Mar 29, 2001 at 04:36:59PM +0900 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Mar 29, 2001 at 04:36:59PM +0900, Akinori MUSHA wrote: > Hi, > > Can we apply the following patch to bsd.port.mk? It allows us to put > something like this in *_DEPENDS: > > BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/lang/python15:build,-DWITHOUT_THREADS My eyes are hurting at the sed expressions. Does this mean that I can specify multiple flags, and if so how? How about if I want to pass values as well, with colons in them, eg: does this handle: FOO_DEPENDS= foo:${PORTSDIR}/bar/foo:build,-DFOO,-UBAR,\ -DBAZ="\"colon:happy\"" and do the right thing, ie: pass: -DFOO -UBAR -DBAZ="\"colon:happy\"" to the port Makefile. I believe all of these issues would need to be addressed, and a generic patch written that handles cases like this, before I'd like something like this to go in. And yes, I can think of a few cases where something like the above would be advantageous in terms of merging very similar but currently seperate ports into "proper" master/slave versions. (Especially when we collapse the slave versions into the single port, code coming soon I hope...) -aDe -- Ade Lovett, Austin, TX. ade@FreeBSD.org FreeBSD: The Power to Serve http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message