ports/79010: [patch] bsd.port.mk - all-depends-tree target
Edwin Groothuis
edwin at mavetju.org
Sat Mar 19 22:00:15 UTC 2005
The following reply was made to PR ports/79010; it has been noted by GNATS.
From: Edwin Groothuis <edwin at mavetju.org>
To: Kirill Ponomarew <krion at voodoo.oberon.net>
Cc: FreeBSD Gnats Submit <freebsd-gnats-submit at freebsd.org>
Subject: Re: ports/79010: [patch] bsd.port.mk - all-depends-tree target
Date: Sun, 20 Mar 2005 08:50:09 +1100
On Sat, Mar 19, 2005 at 01:50:06PM +0000, Kirill Ponomarew wrote:
> The following reply was made to PR ports/79010; it has been noted by GNATS.
>
> From: Kirill Ponomarew <krion at voodoo.oberon.net>
> To: Edwin Groothuis <edwin at mavetju.org>
> Cc: FreeBSD-gnats-submit at FreeBSD.org
> Subject: Re: ports/79010: [patch] bsd.port.mk - all-depends-tree target
> Date: Sat, 19 Mar 2005 14:49:29 +0100
>
> On Sat, Mar 19, 2005 at 11:58:43PM +1100, Edwin Groothuis wrote:
> > + echo $${ALL} \
> > + | ${SED} -e 's,${PORTSDIR}/,,g' \
> > + | ${FMT} -1 \
> > + | ${SORT} -u \
> > + | perl -e 'while (<>) { ~s/.*?\|/|\\_/g; ~s/\|\\_\|/| |/g; ~s/\|\\_\|/| |/g; print; }'; \
>
> Which means you can't use target if perl isn't installed, I think
> awk would be quite suitable in this case.
Make describe doesn't work neither if perl isn't installed.
But you are right partly, it should have used ${PERL}.
I have tried it in sed(1), but sed is too greedy with the ".*" while
perl understands the ".*?".
Edwin
--
Edwin Groothuis | Personal website: http://www.mavetju.org
edwin at mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/
More information about the freebsd-ports-bugs
mailing list