On Sun, 2005-01-23 at 23:04 +0100, Alexander Mieland wrote:
> If someone wants to build a binary package of basc-1.5.8, the ebuild 
> searches for the bash-tarball in ${DISTFILES}, but there will be no 
> bash-tarball if basc is to be installed as binary by another user.

This is simple enough.

if [ ! -e ${DISTFILES}/bash-3.0.tar.bz2 ]
then
        die  "I could not find the bash-3.0.tar.bz2 file.  Please download this
file from $blah and copy it to ${DISTFILES}."
fi

Of course, $blah would be a download location for the tarball.

I think this would be a preferred solution rather than attempting the
fetch ourselves using some other manner.

> Can someone please take a look over my basc-1.5.8.ebuild and give me some 
> issues how to fix this?
> 
> Here's the ebuild: http://bugs.gentoo.org/show_bug.cgi?id=78832
> 
> Pvdabeel had the issue to copy the bash-tarball 
> to /var/tmp/portage/package-name/image and to unpack and compile it from 
> there. Could this be a working solution?

That could be a working solution, but I still prefer simply checking and
bailing out.

-- 
Chris Gianelloni
Release Engineering - Operations/QA Manager
Games - Developer
Gentoo Linux

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to