Date: Thu, 29 Mar 2001 16:36:59 +0900 From: "Akinori MUSHA" <knu@iDaemons.org> To: portmgr@FreeBSD.org, FreeBSD-ports <ports@FreeBSD.org> Subject: extension of DEPENDS_TARGET Message-ID: <867l196n6s.wl@archon.local.idaemons.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?867l196n6s.wl>