On Tue, 31 Mar 2009 10:33:12 +0100, Stroller <strol...@stellar.eclipse.co.uk> wrote: > On 31 Mar 2009, at 09:47, Daniel Pielmeier wrote: > >> 2009/3/31 Stroller <strol...@stellar.eclipse.co.uk>: >>> I tried copying nmap-4.76.ebuild (the latest in the Portage tree) to >>> /usr/local/portage/net-analyzer/nmap/nmap-4.85_beta5.ebuild and >>> added the >>> MY_P="${P/_beta/BETA}" line from >>> http://bugs.gentoo.org/attachment.cgi?id=8748&action=view but I >>> still get >>> "File nmap-4.85_beta5.tar.bz2 doesn't exist" when I try to create a >>> manifest. I also tried using MY_P="${P/_beta/BETA/}" in case it >>> needed that >>> extra slash, but no joy. >> >> This replacement should do normally. >> >> Did you try "ebuild nmap-4.85_beta5.ebuild clean" before "ebuild >> nmap-4.85_beta5.ebuild manifest" > > Nope. :( > > Output attached in case I'm missing something really stupid.
It seems you forget to correct SRC_URI with ${MY_P} instead of ${P}. > Stroller.