Date: Wed, 15 Aug 2001 02:25:41 -0400 From: parv <parv_@yahoo.com> To: f-q <freebsd-questions@freebsd.org> Subject: make search isn't making any results in ports Message-ID: <20010815022541.A13033@moo.holy.cow>
next in thread | raw e-mail | index | archive | help
today and a few days earlier whenever i tried to do make search, i
got nothing. in ports & ports/net directories, i tried...
# make search key=yahoo
...here is the make -n output w/ "key block" code...
# make -n search key=yahoo | perl -pi 's#\;#\n#g'
here=`pwd`
cd /source/ports
top=`pwd`
there=`echo "$here/" | sed s%$top%/source/ports%`
if [ -n "$key" ]
then grep $there /source/ports/INDEX | grep -i "yahoo" | awk -F\| \
'{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\n\n", $1, $2, $4, $6, $7, $8, $9) }'
elif [ $name ]
...
fi
...if i 've read above correctly, when make search is done in
/source/ports directory, then "$there" will be '/source/ports/' which
of course causes grep/awk to show something for a change.
can anybody identify the cause?
btw, i just cvsup the ports w/ no success on make search.
--
so, do you like word games or scrabble?
- parv
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010815022541.A13033>
