Subject: Re: CVS commit: pkgsrc/lang
To: Jan Schaumann <jschauma@netbsd.org>
From: John Klos <john@sixgirls.org>
List: pkgsrc-changes
Date: 10/13/2002 23:53:38
Hi,

> > I'm not sure I understand this.  The powerpc distfile is named
> > "foo.bin.bin"?  If not, why isn't this being handled automatically when
> > EXTRACT_SUFX=".bin" is set in Makefile.common?

It's named j2re-1.3.1-02b-FCS-linux-ppc.bin, but ftp tries to get
j2re-1.3.1-02b-FCS-linux-ppc, like so:

=> Attempting to fetch j2re-1.3.1-02b-FCS-linux-ppc from
ftp://mirror.aarnet.edu.au/pub/java-linux/JDK-1.3.1/ppc/FCS-02b/.

> You're right, of course.  I'm confused.
>
> John, you said that on powerpc it tried to download
> j2re-1.3.1-02b-FCS-linux-ppc rathern than
> j2re-1.3.1-02b-FCS-linux-ppc.bin; could you double-check that?  When I
> set MACHINE_ARCH to powerpc, it gets the correct file...

I'm sorry that I didn't have the time to look at the files then, but now
that I look, it's a really simple fix:

pkgsr/lang/blackdown-jre13/Makefile:
10c10
< DISTFILES=    ${EXTNAME}-ppc.bin
---
> DISTFILES=    ${EXTNAME}-ppc

That's all!

Thanks much,
John Klos