Date: Sat, 7 Apr 2001 21:02:56 -0500 From: Ade Lovett <ade@FreeBSD.org> To: Akinori MUSHA <knu@iDaemons.org> Cc: portmgr@FreeBSD.org, FreeBSD-ports <ports@FreeBSD.org> Subject: Re: extension of DEPENDS_TARGET Message-ID: <20010407210256.A13333@FreeBSD.org> In-Reply-To: <867l196n6s.wl@archon.local.idaemons.org>; from knu@iDaemons.org on Thu, Mar 29, 2001 at 04:36:59PM %2B0900 References: <867l196n6s.wl@archon.local.idaemons.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010407210256.A13333>