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
pgpi24mZ3pvwp.pgp
Description: PGP signature