Date: Sun, 29 Oct 2000 21:43:36 +0100 (CET) From: andrea@webcom.it To: freebsd-current@webcom.it Subject: Problems in ports with partial tree Message-ID: <20001029204336.36543.qmail@webcom.it>
next in thread | raw e-mail | index | archive | help
Hi! A few weeks ago I started using `refuse' files to avoid downloading ports I'm sure I'll never need (languages I can't speak, for instance). Since then, if I do anything recursive in the ports tree (a make readmes, for instance), problems occur. The biggest one is with make readmes. IF I run that from /usr/ports/www, where I `refuse' w3, I get: [...snip...] echo -n '<a href="'w3/README.html'">'"`cd w3; make package-name | sed -e 's/&/\&/g' -e 's/>/\>/g' -e 's/</\</g'`</a>: " >> README.html.tmp cd: can't cd to w3 cat `cd w3; make -V COMMENT` | sed -e 's/&/\&/g' -e 's/>/\>/g' -e 's/</\</g' >> README.html.tmp cd: can't cd to w3 [...snip...] The problem seems to be here: cat `cd w3; make -V COMMENT` | sed -e 's/&/\&/g' -e 's/>/\>/g' -e 's/</\</g' >> README.html.tmp That's because the make gets executed in /usr/ports/www. Couldn't we put an if [ -d w3 ] in front of any statement which could recurse? In fact, I noticed a check for PORTSTOP, but I can't understand its use, nor find any documentation for the various files in Mk. Anbybody can provide any pointers into this? TIA, bye, Andrea -- Give a man a fish and you feed him for a day; teach him to use the Net and he won't bother you for weeks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001029204336.36543.qmail>