Subject: pkg/26334: math/scilab: Makefile & distinfo disagree about DIST_SUBDIR
To: None <firstname.lastname@example.org>
From: None <kre@munnari.OZ.AU>
Date: 07/15/2004 18:49:56
>Synopsis: math/scilab: Makefile & distinfo disagree about DIST_SUBDIR
>Arrival-Date: Thu Jul 15 11:53:01 UTC 2004
>Originator: Robert Elz
>Release: NetBSD 1.6X ( -- pkgsrc current as of date of message)
Prince of Songkla University
System: NetBSD jade.coe.psu.ac.th 1.6X NetBSD 1.6X (JADE) #17: Wed Sep 24 20:25:35 ICT 2003 email@example.com:/usr/src/real-sys/arch/i386/compile/JADE i386
The distinfo file for math.scilab assumes a DIST_SUBDIR called scilab-3.0
exists for the distfile. The Makefile defines no DIST_SUBDIR at all.
(# no need to remove any old distfiles for this one).
Eventually you'll see:
=> No checksum recorded for scilab-3.0.src.tar.gz.
Make sure the Makefile and checksum file (/usr/src/pkgsrc/math/scilab/distinfo)
are up to date. If you want to override this check, type
"/usr/bin/make NO_CHECKSUM=yes [other args]".
That's because the distfile has been fetched as distfiles/scilab-3.0.src.tar.gz
where the distinfo file is expecting distfiles/scilab-3.0/scilab-3.0.src.tar.gz
Make the Makefile and distinfo file consistent. Either add a DIST_SUBDIR
to the Makefile, or change the distinfo file to remove the scilab-3.0
DIST_SUBDIR it assumes.
In this case I'd suggest that changing the distinfo file is better, there's
no need for a DIST_SUBDIR for this package (at the minute) it seems, it has
just one distfile with a perfectly adequate name & version number in its name.
What's more, making this change means that people who have already fetched
the distfile won't have their pkgsrc just go fetch it again.