make search (Was Re: Perl5.8.7 ports)
Shaun Amott
shaun at FreeBSD.org
Sat Nov 4 15:41:07 UTC 2006
On Thu, Nov 02, 2006 at 11:20:32PM -0600, Craig Boston wrote:
>
> On Thu, Nov 02, 2006 at 10:16:39AM -0800, Doug Barton wrote:
> > cd /usr/ports/ && make search name=p5-Chart
>
> Okay, sorry for hijacking the thread, but this has been bugging me for a
> while. make search doesn't work for me. At all. On any of my
> machines.
>
> # cd /usr/ports
> # make search name=p5-Chart
> #
>
> That's what happens. No output, as if it didn't find anything. Yes, I
> have an up to date INDEX-6. Doesn't matter if I use name= or key= or
> what I search for.
>
The problem is that "/usr/ports" is hard-coded into INDEX; you can get
around this by building your own INDEX, or by running:
sed -i"" -e "s,/usr/ports/,${PORTSDIR}," ${PORTSDIR}/${INDEXFILE}
after updating your INDEX file.
I'll prepare a patch to fix this properly.
--
Shaun Amott // PGP: 0x6B387A9A
"A foolish consistency is the hobgoblin
of little minds." - Ralph Waldo Emerson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20061104/bac2d3b7/attachment-0001.pgp
More information about the freebsd-ports
mailing list