Subject: Re: CVS commit: pkgsrc/lang
To: John Klos <john@sixgirls.org>
From: Alistair Crooks <agc@wasabisystems.com>
List: pkgsrc-changes
Date: 10/14/2002 10:28:33
On Sun, Oct 13, 2002 at 11:53:38PM -0400, John Klos wrote:
> 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

Then something is obviously different in your setup to everyone elses...

[9:25:53] agc@sys1 ...pkgsrc/lang/blackdown-jre13 13 > make show-var VARNAME=DISTFILES
j2re-1.3.1-02b-FCS-linux-i386.bin
[9:25:58] agc@sys1 ...pkgsrc/lang/blackdown-jre13 14 > env MACHINE_ARCH=powerpc make show-var VARNAME=DISTFILES
j2re-1.3.1-02b-FCS-linux-ppc.bin
[9:26:03] agc@sys1 ...pkgsrc/lang/blackdown-jre13 15 >

Regards,
Alistair