From owner-freebsd-ports Wed Mar 28 23:37:16 2001 Delivered-To: freebsd-ports@freebsd.org Received: from mail.musha.org (daemon.musha.org [61.122.44.178]) by hub.freebsd.org (Postfix) with ESMTP id 209F237B71E; Wed, 28 Mar 2001 23:37:13 -0800 (PST) (envelope-from knu@iDaemons.org) Received: from archon.local.idaemons.org (archon.local.idaemons.org [192.168.1.32]) by mail.musha.org (Postfix) with ESMTP id F221F4D805; Thu, 29 Mar 2001 16:36:59 +0900 (JST) Date: Thu, 29 Mar 2001 16:36:59 +0900 Message-ID: <867l196n6s.wl@archon.local.idaemons.org> From: "Akinori MUSHA" To: portmgr@FreeBSD.org, FreeBSD-ports Subject: extension of DEPENDS_TARGET User-Agent: Wanderlust/2.5.4 (Smooth) SEMI/1.14.2 (=?ISO-8859-1?Q?Daish=F2?= =?ISO-8859-1?Q?ji?=) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 081D 099C 1705 861D 4B70 B04A 920B EFC7 9FD9 E1EE MIME-Version: 1.0 (generated by SEMI 1.14.2 - =?ISO-8859-1?Q?=22Daish=F2ji=22?=) Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 And it will build lang/python15 with an option -DWITHOUT_THREADS before the port's build. Since DEPENDS_ARGS doesn't work if you put something in the third field and you can't use spaces in the field, this fix is mandatory for those ports which need extract/patch/build other ports with specific options. Index: bsd.port.mk =================================================================== RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v retrieving revision 1.363 diff -u -r1.363 bsd.port.mk --- bsd.port.mk 2001/03/24 21:35:22 1.363 +++ bsd.port.mk 2001/03/29 07:26:50 @@ -2484,7 +2484,7 @@ prog=`${ECHO} $$i | ${SED} -e 's/:.*//'`; \ dir=`${ECHO} $$i | ${SED} -e 's/[^:]*://'`; \ if ${EXPR} "$$dir" : '.*:' > /dev/null; then \ - target=`${ECHO} $$dir | ${SED} -e 's/.*://'`; \ + target=`${ECHO} $$dir | ${SED} -e 's/.*://' -e 's/,/ /g'`; \ dir=`${ECHO} $$dir | ${SED} -e 's/:.*//'`; \ else \ target="${DEPENDS_TARGET}"; \ -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "We're only at home when we're on the run, on the wing, on the fly" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message