Subject: pkg/14679: [rkb] Scilab package doesn't build -- checksum & Makefil broken
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rafal@netbsd.org>
List: netbsd-bugs
Date: 11/22/2001 00:08:26
>Number:         14679
>Category:       pkg
>Synopsis:       scilab distfile checksum changed; broke Makefile hacks
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 21 21:09:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.5Y
>Organization:
Highly unlikely
>Environment:
System: NetBSD cyclops 1.5Y NetBSD 1.5Y (CYCLOPS) #3: Tue Nov 6 08:30:46 EST 2001 rafal@cyclops:/extra/src-current/sys/arch/i386/compile/CYCLOPS i386
Architecture: i386
Machine: i386
>Description:
	The scilab distfile has changed, causing the package to not build;
	in addition, the Scilab crew fixed some of the egregious distfile
	brokenness that out Makefile tried to work around -- this caused 
	out Makefile to break.
>How-To-Repeat:
	Attempt to build math/scilab (after fixing pkg/14678 if you don't 
	have f2c on the target system) with latest pkgsrc and no distfile
	saved locally (this has been broken for a while, I've just been
	lazy about sending a PR).

>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/math/scilab/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- Makefile	2001/09/27 23:18:24	1.25
+++ Makefile	2001/11/22 05:01:58
@@ -39,11 +39,11 @@
 # remove some stuff which is broken in the distfile.  The config's
 # are links to ../config (ie circular).
 post-extract:
-	${RM} ${WRKSRC}/config.cache
-	${RM} ${WRKSRC}/examples/callsci/callsciJava/config/config
-	${RM} ${WRKSRC}/examples/callsci/callsciFortran/config/config
-	${RM} ${WRKSRC}/examples/callsci/callsciC/config/config
-	${RM} ${WRKSRC}/examples/callsci/callsciC++/config/config
+	${RM} -f ${WRKSRC}/config.cache
+	${RM} -f ${WRKSRC}/examples/callsci/callsciJava/config/config
+	${RM} -f ${WRKSRC}/examples/callsci/callsciFortran/config/config
+	${RM} -f ${WRKSRC}/examples/callsci/callsciC/config/config
+	${RM} -f ${WRKSRC}/examples/callsci/callsciC++/config/config
 
 # clean up any possible leftovers from 'make test' so that our PLIST
 # will still be right
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/math/scilab/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	2001/07/11 15:16:21	1.3
+++ distinfo	2001/11/22 05:01:58
@@ -1,7 +1,7 @@
 $NetBSD: distinfo,v 1.3 2001/07/11 15:16:21 dmcmahill Exp $
 
-SHA1 (scilab-2.6.src.tar.gz) = fa4e0df9e0500488f59e488ea20214c200add4d7
-Size (scilab-2.6.src.tar.gz) = 6729707 bytes
+SHA1 (scilab-2.6.src.tar.gz) = a91d9a33e849844ec8d6ce98657ded085c5928e0
+Size (scilab-2.6.src.tar.gz) = 6725259 bytes
 SHA1 (patch-aa) = a4028254852fb938eb9e3a64b9964526195e13ab
 SHA1 (patch-ab) = 8896079c2b11e41faf1760d5e88cfc2771a30120
 SHA1 (patch-ac) = f1f5f90b7f0c3ca2cf5dd0e602395a0b4c56cd1b
>Release-Note:
>Audit-Trail:
>Unformatted:
 		pkgsrc cvs updated Nov 22, 2001, ~ 0200 UTC.