Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Nov 2006 15:41:02 +0000
From:      Shaun Amott <shaun@FreeBSD.org>
To:        Craig Boston <craig@yekse.gank.org>, ports@FreeBSD.org
Subject:   Re: make search (Was Re: Perl5.8.7 ports)
Message-ID:  <20061104154102.GA1224@charon.picobyte.net>
In-Reply-To: <20061103052032.GB87797@nowhere>
References:  <2A1A6E935323B04BB28608B01B9B077A03190460@CHN-SNR-MBX01.wipro.com> <6306EDB7C88085BEB4DBC265@utd59514.utdallas.edu> <454A3607.2030406@FreeBSD.org> <20061103052032.GB87797@nowhere>

next in thread | previous in thread | raw e-mail | index | archive | help

--pf9I7BMVVzbSWLtt
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Nov 02, 2006 at 11:20:32PM -0600, Craig Boston wrote:
>=20
> On Thu, Nov 02, 2006 at 10:16:39AM -0800, Doug Barton wrote:
> > cd /usr/ports/ && make search name=3Dp5-Chart
>=20
> 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.
>=20
> # cd /usr/ports
> # make search name=3Dp5-Chart
> #
>=20
> 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=3D or key=3D or
> what I search for.
>=20

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.

--=20
Shaun Amott // PGP: 0x6B387A9A
"A foolish consistency is the hobgoblin
of little minds." - Ralph Waldo Emerson

--pf9I7BMVVzbSWLtt
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFFTLSOkmhdCGs4epoRAhojAKDa33JqXraCe6hT8Pe71t0SyUUH/wCeLnEq
WquEDsgezXoXY3zEE4zmi5o=
=F79k
-----END PGP SIGNATURE-----

--pf9I7BMVVzbSWLtt--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061104154102.GA1224>