Subject: pkg/26577: patches for bwbasic are currently downloaded but not installed
To: None <gnats-bugs@gnats.netbsd.org>
From: Roland Illig <roland.illig@gmx.de>
List: pkgsrc-bugs
Date: 08/07/2004 03:01:56
>Number:         26577
>Category:       pkg
>Synopsis:       (see subject)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 07 01:22:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Roland Illig
>Release:        
>Organization:
>Environment:
System: Linux wwid 2.4.22-1-k7 #5 Sat Oct 4 14:11:12 EST 2003 i686 GNU/Linux
Architecture: i686

	
>Description:
The Makefile for lang/bwbasic mentions some files with patches and
downloads them but does not integrate them into the source directory
before compiling the basic interpreter.

>How-To-Repeat:
	
>Fix:

--- Makefile	27 Jan 2004 00:53:11 -0000	1.7
+++ Makefile	7 Aug 2004 00:55:45 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.7 2004/01/27 00:53:11 heinz Exp $
 
 DISTNAME=	bwbasic-2.20
-PKGREVISION=	1
+PKGREVISION=	2
 CATEGORIES=	lang
 MASTER_SITES=	ftp://ftp.rahul.net/pub/rhn/
 EXTRACT_SUFX=	.tar.Z
@@ -15,6 +15,10 @@
 
 SHARE_DIR=	${PREFIX}/share/bwbasic
 
+post-extract:
+	${CP} -p ${WRKSRC}/../bwb-2.20-patch01/* ${WRKSRC}
+	${CP} -p ${WRKSRC}/../bwb-2.20-patch02/* ${WRKSRC}
+
 post-install:
 	${INSTALL_DATA_DIR} ${SHARE_DIR}
 	${CP} -r ${WRKSRC}/bwbtest ${SHARE_DIR}
>Release-Note:
>Audit-Trail:
>Unformatted: